Function jsonrpsee_server::http::call_with_service_builder
source ยท pub async fn call_with_service_builder<L>(
request: Request<Body>,
server_cfg: ServerConfig,
conn: ConnectionState,
methods: impl Into<Methods>,
rpc_service: RpcServiceBuilder<L>,
) -> Response<Body>where
L: for<'a> Layer<RpcService>,
for<'a> <L as Layer<RpcService>>::Service: Send + Sync + 'static + RpcServiceT<'a>,
Expand description
Make JSON-RPC HTTP call with a RpcServiceBuilder
Fails if the HTTP request was a malformed JSON-RPC request.