Skip to main content

build_byte_backend

Function build_byte_backend 

Source
pub(super) async fn build_byte_backend<B>(
    config: &ClientConfig,
    codec: B,
) -> Result<(ClientBackend, FramedConn<B>)>
where B: JsonRpcCodec,
Expand description

Build the multiplexed backend by connecting over a byte stream (TCP, TLS, or Unix) and framing it.