Package-level declarations

Types

Link copied to clipboard
abstract class AbstractCoroutineServerImpl(val context: CoroutineContext = EmptyCoroutineContext) : BindableService

Skeleton implementation of a coroutine-based gRPC server implementation. Intended to be subclassed by generated code.

Link copied to clipboard
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.

Link copied to clipboard

Helpers for gRPC clients implemented in Kotlin. Can be used directly, but intended to be used from generated Kotlin APIs.

Link copied to clipboard

A ServerInterceptor subtype that can install elements in the CoroutineContext where server logic is executed. These elements are applied "after" the AbstractCoroutineServerImpl.context; that is, the interceptor overrides the server's context.

Link copied to clipboard

A CoroutineContext that propagates an associated io.grpc.Context to coroutines run using that context, regardless of thread.

Link copied to clipboard

Helpers for implementing a gRPC server based on a Kotlin coroutine implementation.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class StubFor(val value: KClass<*>)