connect-bidi-web
    Preparing search index...

    A minimal abstraction of a full-duplex byte-stream connection, such as a WebSocket adapted to a byte stream, or a WebTransport bidirectional stream. Each DuplexByteStream carries exactly one RPC.

    interface DuplexByteStream {
        close?: () => void;
        readable: ReadableStream<Uint8Array<ArrayBufferLike>>;
        writable: WritableStream<Uint8Array<ArrayBufferLike>>;
    }
    Index
    close?: () => void

    Close the underlying connection. Called once the RPC has finished and the response has been fully written.

    readable: ReadableStream<Uint8Array<ArrayBufferLike>>
    writable: WritableStream<Uint8Array<ArrayBufferLike>>