Module jsonrpsee_core::server

source ·
Expand description

Shared modules for the JSON-RPC servers.

Re-exports§

Modules§

Structs§

Enums§

Traits§

Functions§

Type Aliases§

  • Similar to SyncMethod, but represents an asynchronous handler.
  • Max response size.
  • Raw response from an RPC A tuple containing:
  • Type-alias for subscribers.
  • Method callback for subscriptions.
  • Subscription permit.
  • A MethodCallback is an RPC endpoint, callable with a standard JSON-RPC request, implemented as a function pointer to a Fn function taking four arguments: the id, params, a channel the function uses to communicate the result (or error) back to jsonrpsee, and the connection ID (useful for the websocket transport).