Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

JSON-RPC method dispatcher.

Handlers are registered by method name. Every request is associated with a CancellationToken that fires when the client sends $/cancelRequest.

Structs§

Dispatcher
Routes inbound JSON-RPC method calls to async handlers.

Enums§

DispatchError
Errors from dispatching a request.
HandlerResult
The two outcomes a request handler can produce.