o

akka.grpc.scaladsl

GrpcMarshalling

object GrpcMarshalling

Source
GrpcMarshalling.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcMarshalling
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def marshal[T](e: T = Identity, eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers] = GrpcExceptionHandler.defaultMapper)(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  2. def marshalRequest[T](uri: Uri, e: T, eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers] = GrpcExceptionHandler.defaultMapper)(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpRequest
    Annotations
    @InternalApi()
  3. def marshalStream[T](e: Source[T, NotUsed], eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers] = GrpcExceptionHandler.defaultMapper)(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  4. def marshalStreamRequest[T](uri: Uri, e: Source[T, NotUsed], eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers] = GrpcExceptionHandler.defaultMapper)(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpRequest
    Annotations
    @InternalApi()
  5. def negotiated[T](req: HttpRequest, f: (GrpcProtocolReader, GrpcProtocolWriter) => Future[T]): Option[Future[T]]
  6. def unmarshal[T](entity: HttpEntity)(implicit u: ProtobufSerializer[T], mat: Materializer, reader: GrpcProtocolReader): Future[T]
  7. def unmarshal[T](data: Source[ByteString, Any])(implicit u: ProtobufSerializer[T], mat: Materializer, reader: GrpcProtocolReader): Future[T]
  8. def unmarshal[T](req: HttpRequest)(implicit u: ProtobufSerializer[T], mat: Materializer): Future[T]
  9. def unmarshalStream[T](entity: HttpEntity)(implicit u: ProtobufSerializer[T], mat: Materializer, reader: GrpcProtocolReader): Future[Source[T, NotUsed]]
  10. def unmarshalStream[T](data: Source[ByteString, Any])(implicit u: ProtobufSerializer[T], mat: Materializer, reader: GrpcProtocolReader): Future[Source[T, NotUsed]]
  11. def unmarshalStream[T](req: HttpRequest)(implicit u: ProtobufSerializer[T], mat: Materializer): Future[Source[T, NotUsed]]