GrpcProtocolWebText

The application/grpc-web-text+proto variant of gRPC.

This is the same as application/grpc-web+proto, but with each chunk of the frame encoded gRPC data also base64 encoded.

Source:
GrpcProtocolWeb.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

final override def postEncode(framed: ByteString): ByteString
final override def preDecodeFlow: Flow[ByteString, ByteString, NotUsed]
final override def preDecodeStrict(frame: ByteString): ByteString

Inherited methods

override def newReader(codec: Codec): GrpcProtocolReader

Obtains a reader for this protocol.

Obtains a reader for this protocol.

Value parameters:
codec

the codec to use for compressed frames.

Definition Classes
Inherited from:
AbstractGrpcProtocol
Source:
AbstractGrpcProtocol.scala
override def newWriter(codec: Codec): GrpcProtocolWriter

Obtains a writer for this protocol:

Obtains a writer for this protocol:

Value parameters:
codec

the compression codec to apply to data frame contents.

Definition Classes
Inherited from:
AbstractGrpcProtocol
Source:
AbstractGrpcProtocol.scala
override protected def reader(codec: Codec): GrpcProtocolReader
override protected def writer(codec: Codec): GrpcProtocolWriter

Inherited fields

override val contentType: Binary
override val mediaTypes: Set[MediaType]