invoke
Executes this Callable HTTPS trigger asynchronously.
If the returned task fails, the Exception will be one of the following types:
FirebaseFunctionsException - if the request connected, but the function returned an error.
The request to the Cloud Functions backend made by this method automatically includes a Firebase Instance ID token to identify the app instance. If a user is logged in with Firebase Auth, an auth token for the user will also be automatically included.
Return
A Task that will be completed when the HTTPS request has completed.
Parameters
Parameters to pass to the trigger.
See also
Executes this HTTPS endpoint asynchronously without arguments.
The request to the Cloud Functions backend made by this method automatically includes a Firebase Instance ID token to identify the app instance. If a user is logged in with Firebase Auth, an auth token for the user will also be automatically included.
Return
A HttpsCallableResult that will contain the result.
Deprecated
Deprecated. Use builder instead
Replace with
invoke(data) { this.encodeDefaults = encodeDefaults }
Deprecated
Deprecated. Use builder instead
Replace with
invoke(strategy, data) { this.encodeDefaults = encodeDefaults }