pub(super) fn encode_response<C: JsonRpcCodec>(
codec: &C,
resp: &Response,
) -> Result<Bytes>Expand description
Encode a JSON-RPC response with the server codec.
pub(super) fn encode_response<C: JsonRpcCodec>(
codec: &C,
resp: &Response,
) -> Result<Bytes>Encode a JSON-RPC response with the server codec.