o

akka.grpc.internal

GrpcResponseHelpers

object GrpcResponseHelpers

Some helpers for creating HTTP entities for use with gRPC.

INTERNAL API

Annotations
@InternalApi()
Source
GrpcResponseHelpers.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcResponseHelpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[T](e: Source[T, NotUsed], trail: Source[TrailerFrame, NotUsed], eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers] = GrpcExceptionHandler.defaultMapper)(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  2. def apply[T](e: Source[T, NotUsed], status: Future[Status], eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers])(implicit m: ProtobufSerializer[T], mat: Materializer, writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  3. def apply[T](e: Source[T, NotUsed], status: Future[Status])(implicit m: ProtobufSerializer[T], mat: Materializer, writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  4. def apply[T](e: Source[T, NotUsed], eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers])(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  5. def apply[T](e: Source[T, NotUsed])(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  6. def responseForSingleElement[T](e: T, eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers])(implicit m: ProtobufSerializer[T], writer: GrpcProtocolWriter, system: ClassicActorSystemProvider): HttpResponse
  7. def status(trailer: Trailers)(implicit writer: GrpcProtocolWriter): HttpResponse