You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Get a {@link Functions} instance for the given app.
9
+
* @param {FirebaseApp | undefined} app - The FirebaseApp to use. Optional.
10
+
* @param {string | undefined} regionOrCustomDomain - One of: a) The region the callable functions are located in (ex: us-central1) b) A custom domain hosting the callable functions (ex: https://mydomain.com). optional
11
+
* @returns {Functions} Returns a {@link Functions} instance for the given app.
* Modify this instance to communicate with the Cloud Functions emulator.
17
+
* Note: this must be called before this instance has been used to do any operations.
18
+
* @param {Functions} functionsInstance
19
+
* @param {string} host The emulator host. (ex: localhost)
20
+
* @param {number} port The emulator port. (ex: 5001)
21
+
*/
22
+
exportdeclarefunctionconnectFunctionsEmulator(
23
+
functionsInstance: Functions,
24
+
host: string,
25
+
port: number,
26
+
): void;
27
+
28
+
/**
29
+
* Returns a reference to the {@link HttpsCallable} trigger with the given name.
30
+
* @param {Functions} functionsInstance A functions instance.
31
+
* @param {string} name The name of the trigger.
32
+
* @param {HttpsCallableOptions | undefined} options An instance of {@link HttpsCallableOptions} containing metadata about how calls should be executed.
* Returns a reference to the {@link HttpsCallable} trigger with the specified url.
43
+
* @param {Functions} functionsInstance A functions instance.
44
+
* @param {string} url The url of the trigger.
45
+
* @param {HttpsCallableOptions | undefined} options An instance of {@link HttpsCallableOptions} containing metadata about how calls should be executed.
* @param regionOrCustomDomain - A String of the region or domain of the Firebase Function you wish to call. Optional.
28
+
* @param{FirebaseApp | undefined} app - The FirebaseApp to use. Optional.
29
+
* @param{string | undefined} regionOrCustomDomain - One of: a) The region the callable functions are located in (ex: us-central1) b) A custom domain hosting the callable functions (ex: https://mydomain.com). Optional.
0 commit comments