Function jsonrpsee_server::http::call_with_service
source ยท pub async fn call_with_service<S>(
request: Request<Body>,
batch_config: BatchRequestConfig,
max_request_size: u32,
rpc_service: S,
max_response_size: u32,
) -> Response<Body>where
for<'a> S: RpcServiceT<'a> + Send,
Expand description
Make JSON-RPC HTTP call with a service RpcServiceT
Fails if the HTTP request was a malformed JSON-RPC request.