Skip to content

FB4D Reference IFirebaseRequest

Christoph Schneider edited this page May 2, 2019 · 2 revisions

Interface IFirebaseRequest

The class TFirebaseRequest in the unit FB4D.Request implements this class for send synchronous and asynchronous REST API requests to all Firebase Services.

The constructor for TFirebaseRequest expects the base URI of the Firebase Service. The RequestID is for asynchronous calls to identify the request within the callback functions. For synchronous calls the RequestID is not required. Most Firebase Service expects authentication. For this purpose the IFirebaseAuthentication is used.

constructor TFirebaseRequest.Create(const BaseURI: string; 
  const RequestID: string = '';
  Auth: IFirebaseAuthentication = nil);
Clone this wiki locally