fn build_request<C: JsonRpcCodec>(
endpoint: &Endpoint,
config: &HttpConfig,
msg: &Value,
codec: &C,
) -> Result<Request<Full<Bytes>>>Expand description
POST request with the encoded message as body.
fn build_request<C: JsonRpcCodec>(
endpoint: &Endpoint,
config: &HttpConfig,
msg: &Value,
codec: &C,
) -> Result<Request<Full<Bytes>>>POST request with the encoded message as body.