AbstractCoroutineStub

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

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

Constructors

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

Functions

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

Sources

Link copied to clipboard