ScalaServerStreamingRequestBuilder

akka.grpc.internal.ScalaServerStreamingRequestBuilder
@InternalApi
final class ScalaServerStreamingRequestBuilder[I, O](descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings, val headers: MetadataImpl)(implicit ec: ExecutionContext) extends StreamResponseRequestBuilder[I, O] with MetadataOperations[ScalaServerStreamingRequestBuilder[I, O]]

INTERNAL API

Attributes

Source:
RequestBuilderImpl.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Constructors

@InternalStableApi
def this(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)

Attributes

Source:
RequestBuilderImpl.scala

Deprecated constructors

@InternalStableApi
def this(descriptor: MethodDescriptor[I, O], fqMethodName: String, channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)

Attributes

Deprecated
true
Source:
RequestBuilderImpl.scala

Concrete methods

override def invoke(request: I): Source[O, NotUsed]

Invoke the gRPC method with the additional metadata added

Invoke the gRPC method with the additional metadata added

FIXME for streaming response this doesn't really make sense, left it to keep parity with single response but maybe it should go

Attributes

Definition Classes
Source:
RequestBuilderImpl.scala
override def invokeWithMetadata(request: I): Source[O, Future[GrpcResponseMetadata]]

Invoke the gRPC method with the additional metadata added and provide access to response metadata

Invoke the gRPC method with the additional metadata added and provide access to response metadata

Attributes

Definition Classes
Source:
RequestBuilderImpl.scala
override def withHeaders(headers: MetadataImpl): ScalaServerStreamingRequestBuilder[I, O]

Attributes

Definition Classes
Source:
RequestBuilderImpl.scala

Inherited methods

def addHeader(key: String, value: ByteString): T

Attributes

Inherited from:
MetadataOperations
Source:
RequestBuilderImpl.scala
def addHeader(key: String, value: String): T

Attributes

Inherited from:
MetadataOperations
Source:
RequestBuilderImpl.scala

Concrete fields

val headers: MetadataImpl

Attributes

Source:
RequestBuilderImpl.scala