FirebaseFunctions Framework Reference

Structures

The following structures are available globally.

  • ACallable is a reference to a particular Callable HTTPS trigger in Cloud Functions.

    Note

    If the Callable HTTPS trigger accepts no parameters,Never can be used foriOS 17.0+. Otherwise, a simple encodable placeholder type (e.g.,struct EmptyRequest: Encodable {}) can be used.

    Declaration

    Swift

    publicstructCallable<Request,Response>:SendablewhereRequest:Encodable,Response:Decodable

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-15 UTC.