status(_:_:)
A status and key-value pairs sent to the client at the end of the response stream. Every response stream must have exactly one status(_:_:)
as the final part of the request stream.
case status(Status, Metadata)
A status and key-value pairs sent to the client at the end of the response stream. Every response stream must have exactly one status(_:_:)
as the final part of the request stream.
case status(Status, Metadata)
s8GRPCCore15RPCResponsePartO6statusyACyxGAA6StatusV_AA8MetadataVtcAEmAA19GRPCContiguousBytesRzlF
What are these?7QH64
import GRPCCore
A gRPC library for Swift written natively in Swift.
enum RPCResponsePart<Bytes> where Bytes : GRPCContiguousBytes
Part of a response sent from a server to a client in a stream.
struct Status
A status object represents the outcome of an RPC.
struct Metadata
A collection of metadata key-value pairs, found in RPC streams.
case metadata(Metadata)
Key-value pairs sent at the start of the response stream. At most one metadata(_:)
value may be sent to the client. If the server sends metadata(_:)
it must be the first part in the response stream.
case message(Bytes)
The bytes of a serialized message to send to the client. A stream may have any number of messages sent on it. Restrictions for unary request or response streams are imposed at a higher level.