kaven-utils - v6.1.9
    Preparing search index...

    Interface IActiveConnection

    Track the local socket bound to a tunneled connection, plus the bytes that are pending because the remote end has not yet confirmed the connection.

    interface IActiveConnection {
        destinationBackpressured?: boolean;
        flowPending?: Buffer<ArrayBufferLike>[];
        http?: IHttpHandshake;
        peerClosed?: boolean;
        pending: Buffer<ArrayBufferLike>[] | undefined;
        proxyType?: RelayProxyType;
        receiveWindowUsed?: number;
        sendWindow?: number;
        side: "origin" | "target";
        socket: Socket;
        transportDrainListener?: (peerId: string) => void;
        transportPaused?: boolean;
        windowPaused?: boolean;
    }
    Index
    destinationBackpressured?: boolean

    Whether destination drain handling is already installed.

    flowPending?: Buffer<ArrayBufferLike>[]

    Data retained after the send window is exhausted.

    HTTP-proxy handshake state. It carries the parsed first request to be (re)sent once the peer confirms the dial, and the bytes that followed the initial request headers.

    peerClosed?: boolean

    Whether the peer initiated shutdown. Suppresses a redundant close notification when the local socket subsequently closes.

    pending: Buffer<ArrayBufferLike>[] | undefined

    Outbound bytes received before the peer confirmed the dial. Flushed once a connected message arrives. undefined once the connection has been acknowledged (streaming mode).

    proxyType?: RelayProxyType

    Protocol handshake awaiting confirmation that the peer dialed the requested destination.

    receiveWindowUsed?: number

    Bytes received since the last flow-control window update.

    sendWindow?: number

    Remaining bytes this side may send before receiving a window update.

    side: "origin" | "target"

    Which side created the local socket, used for lifecycle logging.

    socket: Socket
    transportDrainListener?: (peerId: string) => void

    Listener waiting for the selected transport to drain.

    transportPaused?: boolean

    The local source is paused because the selected relay/direct transport reached its writable high-water mark.

    windowPaused?: boolean

    The local source is paused until the peer returns flow-control credit.