AbstractGrpcProtocol

akka.grpc.internal.AbstractGrpcProtocol
See theAbstractGrpcProtocol companion object
abstract class AbstractGrpcProtocol(subType: String) extends GrpcProtocol

Attributes

Companion:
object
Source:
AbstractGrpcProtocol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete 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
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
Source:
AbstractGrpcProtocol.scala

Concrete fields

override val contentType: Binary

INTERNAL API

INTERNAL API

The canonical media type to use for this protocol variant

Attributes

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

Source:
AbstractGrpcProtocol.scala