Package io.grpc.kotlin

Types

AbstractCoroutineServerImpl
Link copied to clipboard
abstract class AbstractCoroutineServerImpl(context: CoroutineContext) : BindableService
Skeleton implementation of a coroutine-based gRPC server implementation.
AbstractCoroutineStub
Link copied to clipboard
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.
ClientCalls
Link copied to clipboard
object ClientCalls
Helpers for gRPC clients implemented in Kotlin.
CoroutineContextServerInterceptor
Link copied to clipboard
abstract class CoroutineContextServerInterceptor : ServerInterceptor
A ServerInterceptor subtype that can install elements in the CoroutineContext where server logic is executed.
GrpcContextElement
Link copied to clipboard
class GrpcContextElement(grpcContext: Context) : ThreadContextElement<Context>
A CoroutineContext that propagates an associated io.grpc.Context to coroutines run using that context, regardless of thread.
ServerCalls
Link copied to clipboard
object ServerCalls
Helpers for implementing a gRPC server based on a Kotlin coroutine implementation.
StubFor
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class StubFor(value: KClass<*>)