cuprated::rpc

Module request

Source
Expand description

Convenience functions for requests/responses.

This module implements many methods for CupratedRpcHandler that are simple wrappers around the request/response API provided by the multiple tower::Services.

These exist to prevent noise like unreachable!() from being everywhere in the actual handler functions.

Each module implements methods for a specific API, e.g. the blockchain modules contains methods for the blockchain database tower::Service API.

Modulesยง