INTERNAL API
Core definitions for gRPC protocols.
Attributes
- Companion:
- trait
- Source:
- GrpcProtocol.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- GrpcProtocol.type
Members list
Type members
Classlikes
A data (or message) frame in a gRPC protocol stream.
A data (or message) frame in a gRPC protocol stream.
Attributes
- Source:
- GrpcProtocol.scala
- Graph
- Supertypes
A frame in a logical gRPC protocol stream
A frame in a logical gRPC protocol stream
Attributes
- Source:
- GrpcProtocol.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class DataFrameclass TrailerFrame
Implements the decoding of the gRPC framing from a physical/transport layer.
Implements the decoding of the gRPC framing from a physical/transport layer.
Attributes
- Source:
- GrpcProtocol.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
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.
Attributes
- Source:
- GrpcProtocol.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
A trailer (status headers) frame in a gRPC protocol stream
A trailer (status headers) frame in a gRPC protocol stream
Attributes
- Source:
- GrpcProtocol.scala
- Graph
- Supertypes
Value members
Concrete methods
Detects which gRPC protocol variant is indicated in a request.
Detects which gRPC protocol variant is indicated in a request.
Attributes
- 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.
Attributes
- 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.
Attributes
- request
the client request to respond to.
- Returns:
the protocol reader for the request, and a protocol writer for the response.
- Source:
- GrpcProtocol.scala