Module handler

Module handler 

Source
Expand description

Request handling and routing

Routes JSON-RPC requests to appropriate method handlers

Structs§

RequestContext
Request context passed to handlers

Functions§

error_response
Builds an error response
method_not_found
Builds a method not found error response
require_initialization
Validates that session is initialized for methods that require it
success_response
Builds a success response

Type Aliases§

HandlerFuture
Future type for async handlers
HandlerResult
Result type for handlers