Initializergrpc-swift 2.0.0GRPCCore
init(message:metadata:trailingMetadata:)
Creates a new accepted response.
init(message: Message, metadata: Metadata = [:], trailingMetadata: Metadata = [:])
Parameters
- metadata
Metadata to send to the client at the beginning of the response.
- message
The response message to send to the client.
- trailingMetadata
Metadata to send to the client at the end of the response.