Function jsonrpsee_server::http::call_with_service_builder
source ยท pub async fn call_with_service_builder<L, B>(
request: HttpRequest<B>,
server_cfg: ServerConfig,
conn: ConnectionState,
methods: impl Into<Methods>,
rpc_service: RpcServiceBuilder<L>,
) -> HttpResponse
Expand description
Make JSON-RPC HTTP call with a RpcServiceBuilder
Fails if the HTTP request was a malformed JSON-RPC request.