Chaining Incoming Interceptor
Types
Link copied to clipboard
class Middle(interceptor: RPCIncomingInterceptor, nextLink: DefaultRPCInterceptorRegistry.ChainingIncomingInterceptor) : DefaultRPCInterceptorRegistry.ChainingIncomingInterceptor
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
open suspend fun <PAYLOAD, CLIENT_STREAM, SERVER_STREAM> interceptIncomingBistreamCall( payload: PAYLOAD, stream: Flow<CLIENT_STREAM>, call: RunnableCallDescription.ColdBistream<PAYLOAD, CLIENT_STREAM, SERVER_STREAM>, next: suspend (PAYLOAD, Flow<CLIENT_STREAM>) -> Flow<SERVER_STREAM>): Flow<SERVER_STREAM>
Content copied to clipboard
Link copied to clipboard
open suspend fun <PAYLOAD, SERVER_STREAM> interceptIncomingDownstreamCall( payload: PAYLOAD, call: RunnableCallDescription.ColdDownstream<PAYLOAD, SERVER_STREAM>, next: suspend (PAYLOAD) -> Flow<SERVER_STREAM>): Flow<SERVER_STREAM>
Content copied to clipboard
Link copied to clipboard
open suspend fun <PAYLOAD, RESPONSE> interceptIncomingSingleCall( payload: PAYLOAD, call: RunnableCallDescription.Single<PAYLOAD, RESPONSE>, next: suspend (PAYLOAD) -> RESPONSE): RESPONSE
Content copied to clipboard
Link copied to clipboard
open suspend fun <PAYLOAD, CLIENT_STREAM, RESPONSE> interceptIncomingUpstreamCall( payload: PAYLOAD, stream: Flow<CLIENT_STREAM>, call: RunnableCallDescription.ColdUpstream<PAYLOAD, CLIENT_STREAM, RESPONSE>, next: suspend (PAYLOAD, Flow<CLIENT_STREAM>) -> RESPONSE): RESPONSE
Content copied to clipboard