Structures
The following structures are available globally.
-
A
Callable
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 for iOS 17.0+. Otherwise, a simple encodable placeholder type (e.g.,struct EmptyRequest: Encodable {}
) can be used.Declaration
Swift
public struct Callable<Request, Response> where Request : Encodable, Response : Decodable