o

akka.grpc.internal

GrpcProtocolWebText

object GrpcProtocolWebText extends GrpcProtocolWebBase

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcProtocolWebText
  2. GrpcProtocolWebBase
  3. AbstractGrpcProtocol
  4. GrpcProtocol
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val contentType: Binary

    INTERNAL API

    INTERNAL API

    The canonical media type to use for this protocol variant

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  2. 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)

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  3. def newReader(codec: Codec): GrpcProtocolReader

    Obtains a reader for this protocol.

    Obtains a reader for this protocol.

    codec

    the codec to use for compressed frames.

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  4. def newWriter(codec: Codec): GrpcProtocolWriter

    Obtains a writer for this protocol:

    Obtains a writer for this protocol:

    codec

    the compression codec to apply to data frame contents.

    Definition Classes
    AbstractGrpcProtocolGrpcProtocol
  5. final def postEncode(framed: ByteString): ByteString
  6. final def preDecodeFlow: Flow[ByteString, ByteString, NotUsed]
  7. final def preDecodeStrict(frame: ByteString): ByteString