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
- Alphabetic
- By Inheritance
Inherited
- GrpcProtocolWebText
- GrpcProtocolWebBase
- AbstractGrpcProtocol
- GrpcProtocol
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
val
contentType: Binary
INTERNAL API
INTERNAL API
The canonical media type to use for this protocol variant
- Definition Classes
- AbstractGrpcProtocol → GrpcProtocol
-
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
- AbstractGrpcProtocol → GrpcProtocol
-
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
- AbstractGrpcProtocol → GrpcProtocol
-
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
- AbstractGrpcProtocol → GrpcProtocol
-
final
def
postEncode(framed: ByteString): ByteString
- Definition Classes
- GrpcProtocolWebText → GrpcProtocolWebBase
-
final
def
preDecodeFlow: Flow[ByteString, ByteString, NotUsed]
- Definition Classes
- GrpcProtocolWebText → GrpcProtocolWebBase
-
final
def
preDecodeStrict(frame: ByteString): ByteString
- Definition Classes
- GrpcProtocolWebText → GrpcProtocolWebBase