Coroutine Context Server Interceptor
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.
Constructors
CoroutineContextServerInterceptor
Link copied to clipboard
fun CoroutineContextServerInterceptor()
Content copied to clipboard
Types
Functions
coroutineContext
Link copied to clipboard
abstract fun coroutineContext(call: ServerCall<*, *>, headers: Metadata): CoroutineContext
Content copied to clipboard
interceptCall
Link copied to clipboard
override fun <ReqT, RespT> interceptCall(call: ServerCall<ReqT, RespT>, headers: Metadata, next: ServerCallHandler<ReqT, RespT>): ServerCall.Listener<ReqT>
Content copied to clipboard
Sources
jvm source
Link copied to clipboard