GrpcProtocolWebText

org.apache.pekko.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
trait GrpcProtocol
class Object
trait Matchable
class Any
Show all
Self type

Members list

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.

Value parameters

codec

the codec to use for compressed frames.

Attributes

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.

Attributes

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