Codecs
Attributes
- Source
- Codecs.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Codecs.type
Members list
Value members
Concrete methods
Determines the Message-Encoding specified in a message.
Determines the Message-Encoding specified in a message.
Value parameters
- message
-
the gRPC message
Attributes
- Returns
-
the specified codec to uncompress data frame bodies with, Identity if no encoding was specified, or Failure if an unsupported encoding was specified.
- Source
- Codecs.scala
Determines the Message-Encoding specified in a gRPC stream to be unmarshalled.
Determines the Message-Encoding specified in a gRPC stream to be unmarshalled.
Value parameters
- encoding
-
the specified message encoding.
Attributes
- Returns
-
the specified codec to uncompress data frame bodies with, Identity if no encoding was specified, or Failure if an unsupported encoding was specified.
- Source
- Codecs.scala
Determines the message encoding to use for a server response to a client.
Determines the message encoding to use for a server response to a client.
Value parameters
- request
-
the gRPC client request.
Attributes
- Returns
-
a codec to compress data frame bodies with, which will be Identity unless the client specifies support for another supported encoding.
- Source
- Codecs.scala
Concrete fields
Attributes
- Source
- Codecs.scala