Enumeration Casegrpc-swift 2.0.0GRPCCore

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.

RPCParts.swift:48
case status(Status, Metadata)

Other cases

  • 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.