Crate jsonrpsee_server

source ·
Expand description

jsonrpsee-server

jsonrpsee-server is a JSON RPC server that supports both HTTP and WebSocket transport.

Re-exports

Modules

  • Logger for jsonrpsee servers.
  • Various middleware implementations for RPC specific purposes.

Structs

  • No-op implementation to be used for servers that don’t support subscriptions.
  • Generates random integers as subscription ID.
  • Generates random strings of length len as subscription ID.
  • Sets of JSON-RPC methods can be organized into a “module“s that are in turn registered on the server or, alternatively, merged with other modules to construct a cohesive API. RpcModule wraps an additional context argument that can be used to access data during call execution.
  • JSON RPC server.
  • Builder to configure and create a JSON-RPC server
  • Server handle.
  • Represents a single subscription.

Enums

  • Policy for validating the HTTP host header.

Traits