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§

  • Helpers.
  • HTTP related server functionality.
  • jsonrpsee-server middleware
  • WebSocket related server functionality.

Structs§

Enums§

Traits§

Functions§

  • Create a JSON-RPC error response.
  • Figure out if this is a sufficiently complete request that we can extract an Id out of, or just plain unparseable garbage.
  • Serve a service over a TCP connection without graceful shutdown. This means that pending requests will be dropped when the server is stopped.
  • Serve a service over a TCP connection with graceful shutdown. This means that pending requests will be completed before the server is stopped.
  • Create channel to determine whether the server shall continue to run or not.

Type Aliases§