com.google.firebase.functions
Classes
FirebaseFunctions | FirebaseFunctions lets you call Cloud Functions for Firebase. |
HttpsCallableOptions | Options for configuring the callable function. |
HttpsCallableOptions.Builder | A builder for creating |
HttpsCallableReference | A reference to a particular Callable HTTPS trigger in Cloud Functions. |
HttpsCallableResult | The result of calling a |
StreamResponse | Represents a response from a Server-Sent Event (SSE) stream. |
StreamResponse.Message | An event message received during the stream. |
StreamResponse.Result | The final result of the computation, marking the end of the stream. |
Exceptions
FirebaseFunctionsException | The class for all Exceptions thrown by FirebaseFunctions. |
Enums
FirebaseFunctionsException.Code | The set of error status codes that can be returned from a Callable HTTPS tigger. |
Extension functions summary
FirebaseFunctions | Firebase.functions(app: FirebaseApp, regionOrCustomDomain: String) Returns the |
FirebaseFunctions | Firebase.functions(app: FirebaseApp) Returns the |
FirebaseFunctions | Returns the |
HttpsCallableReference | FirebaseFunctions.getHttpsCallable(name: String, init: HttpsCallableOptions.Builder.() -> Unit) Returns a reference to the Callable HTTPS trigger with the given name and call options. |
HttpsCallableReference | FirebaseFunctions.getHttpsCallableFromUrl(url: URL, init: HttpsCallableOptions.Builder.() -> Unit) Returns a reference to the Callable HTTPS trigger with the given URL and call options. |
Extension properties summary
FirebaseFunctions | Returns the |
Extension functions
functions
fun Firebase.functions(app: FirebaseApp, regionOrCustomDomain: String): FirebaseFunctions
Returns the FirebaseFunctions
instance of a given FirebaseApp
and regionOrCustomDomain
.
functions
fun Firebase.functions(app: FirebaseApp): FirebaseFunctions
Returns the FirebaseFunctions
instance of a given FirebaseApp
.
functions
fun Firebase.functions(regionOrCustomDomain: String): FirebaseFunctions
Returns the FirebaseFunctions
instance of a given regionOrCustomDomain
.
getHttpsCallable
fun FirebaseFunctions.getHttpsCallable(name: String, init: HttpsCallableOptions.Builder.() -> Unit): HttpsCallableReference
Returns a reference to the Callable HTTPS trigger with the given name and call options.
getHttpsCallableFromUrl
fun FirebaseFunctions.getHttpsCallableFromUrl(url: URL, init: HttpsCallableOptions.Builder.() -> Unit): HttpsCallableReference
Returns a reference to the Callable HTTPS trigger with the given URL and call options.
Extension properties
functions
val Firebase.functions: FirebaseFunctions
Returns the FirebaseFunctions
instance of the default FirebaseApp
.