AbstractCoroutineServerImpl

abstract class AbstractCoroutineServerImpl(context: CoroutineContext) : BindableService

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

Constructors

AbstractCoroutineServerImpl
Link copied to clipboard
fun AbstractCoroutineServerImpl(context: CoroutineContext = EmptyCoroutineContext)

Functions

bindService
Link copied to clipboard
abstract fun bindService(): ServerServiceDefinition

Properties

context
Link copied to clipboard
val context: CoroutineContext
The context in which to run server coroutines.

Sources

jvm source
Link copied to clipboard