Index
Constructors
Methods
Constructors
Private constructor
-
Returns Functions
Methods
httpsCallable
-
Gets an
HttpsCallable
instance that refers to the function with the given name.Parameters
-
name: string
The name of the https callable function.
-
Optional options: HttpsCallableOptions
The options for this HttpsCallable instance.
Returns HttpsCallable
The
HttpsCallable
instance. -
useEmulator
-
Modify this instance to communicate with the Cloud Functions emulator.
Note: this must be called before this instance has been used to do any operations.
Parameters
-
host: string
The emulator host (ex: localhost)
-
port: number
The emulator port (ex: 5001)
Returns void
-
useFunctionsEmulator
-
Changes this instance to point to a Cloud Functions emulator running locally. See https://firebase.google.com/docs/functions/local-emulator
Parameters
-
url: string
Returns void
-
The Cloud Functions for Firebase service interface.
Do not call this constructor directly. Instead, use
firebase.functions()
.