RequestHandlerExtra
Extra data given to request handlers.
One instance exists per in-flight inbound request. It is passed as the second parameter to low-level handlers registered via Protocol.setRequestHandler and installed into the handler coroutine's CoroutineContext, so code nested anywhere under the handler can reach it via currentRequestHandlerExtra without parameter plumbing.
Types
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sends a notification tagged with relatedRequestId = requestId, letting transports associate it with the request being handled (e.g. route it onto the request's SSE stream).
Link copied to clipboard
Sends a request to the peer tagged with relatedRequestId = requestId.