GrpcProtocolReader

org.apache.pekko.grpc.GrpcProtocol.GrpcProtocolReader
case class GrpcProtocolReader(messageEncoding: Codec, decodeSingleFrame: ByteString => ByteString, frameDecoder: Flow[ByteString, Frame, NotUsed])

Implements the decoding of the gRPC framing from a physical/transport layer.

Attributes

Source
GrpcProtocol.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

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. This flow will throw IllegalStateException if anything other than a data frame is encountered.

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.

Attributes

Source
GrpcProtocol.scala