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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Frameclass Objecttrait Matchableclass AnyShow all
A frame in a logical gRPC protocol stream
A frame in a logical gRPC protocol stream
Attributes
- Source
- GrpcProtocol.scala
- 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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A trailer (status headers) frame in a gRPC protocol stream
A trailer (status headers) frame in a gRPC protocol stream
Attributes
- Source
- GrpcProtocol.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Frameclass Objecttrait Matchableclass AnyShow all
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.
Value parameters
- request
-
the client request to respond to.
Attributes
- Returns
-
the protocol reader for the request, and a protocol writer for the response.
- Source
- GrpcProtocol.scala