case class GrpcProtocolReader(messageEncoding: Codec, decodeSingleFrame: (ByteString) ⇒ ByteString, frameDecoder: Flow[ByteString, Frame, NotUsed]) extends Product with Serializable
Implements the decoding of the gRPC framing from a physical/transport layer.
- Source
- GrpcProtocol.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GrpcProtocolReader
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
val
dataFrameDecoder: Flow[ByteString, ByteString, NotUsed]
A Flow of Frames over a stream of messages encoded in gRPC framing that only expects data frames, and produces the body of each data frame.
A Flow of Frames over a stream of messages encoded in gRPC framing that only expects data frames, and produces the body of each data frame. This flow will throw IllegalStateException if anything other than a data frame is encountered.
- val decodeSingleFrame: (ByteString) ⇒ ByteString
- val frameDecoder: Flow[ByteString, Frame, NotUsed]
- val messageEncoding: Codec