qbit-rpc
    Preparing search index...

    Interface RpcConnectTarget

    Where a RpcConnect function opens its stream to.

    interface RpcConnectTarget {
        host: string;
        port: number;
        signal: AbortSignal;
    }
    Index
    host: string

    The URL's host: a name, or an address without brackets.

    port: number

    The URL's port, 443 when it names none.

    signal: AbortSignal

    Fires if the client gives up before the connection is open: at the deadline or abort of the side-effecting call it is opened for. A pooled connection, which reads share, outlives the read it is opened for, and one Node's pool opens by itself serves the request queued behind a full pool: once no request waits for it, its signal fires when the client's timeoutMs has passed since it started, or when a read that waits needs its turn, and on close() at any time. A stream that arrives later is destroyed. It never fires once the connection is in use.