INTERNAL API
Core definitions for gRPC protocols.
- Companion:
- class
- Source:
- GrpcProtocol.scala
Type members
Classlikes
A data (or message) frame in a gRPC protocol stream.
A data (or message) frame in a gRPC protocol stream.
- Source:
- GrpcProtocol.scala
A frame in a logical gRPC protocol stream
A frame in a logical gRPC protocol stream
- Source:
- GrpcProtocol.scala
Implements the decoding of the gRPC framing from a physical/transport layer.
Implements the decoding of the gRPC framing from a physical/transport layer.
- Source:
- GrpcProtocol.scala
Implements the encoding of a stream of gRPC Frames into a physical/transport layer.
Implements the encoding of a stream of gRPC Frames into a physical/transport layer.
This maps the logical gRPC frames into a stream of chunks that can be handled by the HTTP/2 or HTTP/1.1 transport layer.
- Source:
- GrpcProtocol.scala
A trailer (status headers) frame in a gRPC protocol stream
A trailer (status headers) frame in a gRPC protocol stream
- Source:
- GrpcProtocol.scala
Value members
Concrete methods
Detects which gRPC protocol variant is indicated in a request.
Detects which gRPC protocol variant is indicated in a request.
- Returns:
a GrpcProtocol matching the request mediatype if specified and known.
- Source:
- GrpcProtocol.scala
Detects which gRPC protocol variant is indicated by a mediatype.
Detects which gRPC protocol variant is indicated by a mediatype.
- Returns:
a GrpcProtocol matching the request mediatype if known.
- Source:
- GrpcProtocol.scala
Calculates the gRPC protocol encoding to use for an interaction with a gRPC client.
Calculates the gRPC protocol encoding to use for an interaction with a gRPC client.
- Value parameters:
- request
the client request to respond to.
- Returns:
the protocol reader for the request, and a protocol writer for the response.
- Source:
- GrpcProtocol.scala