GrpcProtocolWebText

akka.grpc.internal.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.

Attributes

Source:
GrpcProtocolWeb.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

final override def postEncode(framed: ByteString): ByteString

Attributes

Definition Classes
Source:
GrpcProtocolWeb.scala
final override def preDecodeFlow: Flow[ByteString, ByteString, NotUsed]

Attributes

Definition Classes
Source:
GrpcProtocolWeb.scala
final override def preDecodeStrict(frame: ByteString): ByteString

Attributes

Definition Classes
Source:
GrpcProtocolWeb.scala

Inherited methods

override def newReader(codec: Codec): GrpcProtocolReader

Obtains a reader for this protocol.

Obtains a reader for this protocol.

Attributes

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:

Attributes

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

Attributes

Definition Classes
Inherited from:
GrpcProtocolWebBase
Source:
GrpcProtocolWeb.scala
override protected def writer(codec: Codec): GrpcProtocolWriter

Attributes

Definition Classes
Inherited from:
GrpcProtocolWebBase
Source:
GrpcProtocolWeb.scala

Inherited fields

override val contentType: Binary

INTERNAL API

INTERNAL API

The canonical media type to use for this protocol variant

Attributes

Inherited from:
AbstractGrpcProtocol
Source:
AbstractGrpcProtocol.scala
override val mediaTypes: Set[MediaType]

INTERNAL API

INTERNAL API

The set of media types that can identify this protocol variant (e.g. including an implicit +proto)

Attributes

Inherited from:
AbstractGrpcProtocol
Source:
AbstractGrpcProtocol.scala