QuestDB JavaScript Client - v5.0.0
    Preparing search index...

    Type Alias ExtraOptions

    type ExtraOptions = {
        agent?: Agent | http.Agent | https.Agent;
        jwk?: Record<string, string>;
        log?: Logger;
        qwp?: QwpExtraOptions;
    }
    Index

    Properties

    Properties

    agent?: Agent | http.Agent | https.Agent

    Transport-specific connection agent. Undici agents apply to the default HTTP(S) transport. QWP wss takes any Node http.Agent, which includes an https.Agent and the tunnelling agents https-proxy-agent, socks-proxy-agent and proxy-agent produce; QWP ws takes a plain http.Agent. An agent that cannot serve the scheme is reported by Node as ERR_INVALID_PROTOCOL when the upgrade is attempted.

    jwk?: Record<string, string>

    Complete EC P-256 private JWK for TCP/TCPS authentication, with the kid, d, x and y properties, kty set to "EC" and crv set to "P-256". A key that is incomplete or not a P-256 key pair is rejected when the Sender is created. Takes precedence over username/token in the configuration string. Rejected for other transports.

    log?: Logger