AbstractCoroutineStub

abstract class AbstractCoroutineStub<S : AbstractCoroutineStub<S>>(channel: Channel, callOptions: CallOptions) : AbstractStub<S>

A skeleton implementation of a coroutine-based client stub, suitable for extension by generated client stubs.

Constructors

AbstractCoroutineStub
Link copied to clipboard
fun AbstractCoroutineStub(channel: Channel, callOptions: CallOptions = CallOptions.DEFAULT)

Functions

build
Link copied to clipboard
abstract fun build(p0: Channel, p1: CallOptions): S
getCallOptions
Link copied to clipboard
fun getCallOptions(): CallOptions
getChannel
Link copied to clipboard
fun getChannel(): Channel
withCallCredentials
Link copied to clipboard
fun withCallCredentials(p0: CallCredentials): S
withChannel
Link copied to clipboard
fun withChannel(p0: Channel): S
withCompression
Link copied to clipboard
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/1704)
fun withCompression(p0: String): S
withDeadline
Link copied to clipboard
fun withDeadline(@Nullable() p0: Deadline?): S
withDeadlineAfter
Link copied to clipboard
fun withDeadlineAfter(p0: Long, p1: TimeUnit): S
withExecutor
Link copied to clipboard
fun withExecutor(p0: Executor): S
withInterceptors
Link copied to clipboard
fun withInterceptors(vararg p0: ClientInterceptor): S
withMaxInboundMessageSize
Link copied to clipboard
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/2563)
fun withMaxInboundMessageSize(p0: Int): S
withMaxOutboundMessageSize
Link copied to clipboard
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/2563)
fun withMaxOutboundMessageSize(p0: Int): S
withOption
Link copied to clipboard
@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/1869)
fun <T : Any> withOption(p0: CallOptions.Key<T>, p1: T): S
withWaitForReady
Link copied to clipboard
fun withWaitForReady(): S

Sources

jvm source
Link copied to clipboard