final class ScalaUnaryRequestBuilder[I, O] extends SingleResponseRequestBuilder[I, O] with MetadataOperations[ScalaUnaryRequestBuilder[I, O]]
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalaUnaryRequestBuilder
- MetadataOperations
- SingleResponseRequestBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScalaUnaryRequestBuilder(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings)(implicit ec: ExecutionContext)
- Annotations
- @InternalStableApi()
- new ScalaUnaryRequestBuilder(descriptor: MethodDescriptor[I, O], channel: InternalChannel, defaultOptions: CallOptions, settings: GrpcClientSettings, headers: MetadataImpl)(implicit ec: ExecutionContext)
Value Members
- def addHeader(key: String, value: ByteString): ScalaUnaryRequestBuilder[I, O]
- Definition Classes
- MetadataOperations
- def addHeader(key: String, value: String): ScalaUnaryRequestBuilder[I, O]
- Definition Classes
- MetadataOperations
- val headers: MetadataImpl
- Definition Classes
- ScalaUnaryRequestBuilder → MetadataOperations
- def invoke(request: I): Future[O]
Invoke the gRPC method with the additional metadata added
Invoke the gRPC method with the additional metadata added
- Definition Classes
- ScalaUnaryRequestBuilder → SingleResponseRequestBuilder
- def invokeWithMetadata(request: I): Future[GrpcSingleResponse[O]]
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
- Definition Classes
- ScalaUnaryRequestBuilder → SingleResponseRequestBuilder
- def setDeadline(deadline: Duration): SingleResponseRequestBuilder[I, O]
Set the deadline for this call
Set the deadline for this call
- returns
A new request builder, that will use the supplied deadline when invoked
- Definition Classes
- ScalaUnaryRequestBuilder → SingleResponseRequestBuilder
- def withHeaders(headers: MetadataImpl): ScalaUnaryRequestBuilder[I, O]
- Definition Classes
- ScalaUnaryRequestBuilder → MetadataOperations