@quack-protocol/sdk - v0.1.0
    Preparing search index...

    Interface QuackClientOptions

    Options used when opening a Quack connection.

    interface QuackClientOptions {
        authToken?: string;
        clientDuckdbVersion?: string;
        clientPlatform?: string;
        fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
        headers?: HeadersInit;
        maxSupportedQuackVersion?: number | bigint;
        minSupportedQuackVersion?: number | bigint;
        signal?: AbortSignal;
        ssl?: boolean;
        timeoutMs?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    authToken?: string

    Authentication token sent in the Quack connection request.

    clientDuckdbVersion?: string

    Optional client DuckDB version string advertised to the server.

    clientPlatform?: string

    Optional client platform string advertised to the server.

    fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    Custom fetch implementation, useful for tests or non-standard runtimes.

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    headers?: HeadersInit

    Extra HTTP headers merged into every Quack request.

    maxSupportedQuackVersion?: number | bigint

    Maximum Quack protocol version supported by the client.

    minSupportedQuackVersion?: number | bigint

    Minimum Quack protocol version supported by the client.

    signal?: AbortSignal

    Abort signal passed through to the underlying fetch request.

    ssl?: boolean

    Force non-HTTP connection strings to resolve to HTTPS.

    timeoutMs?: number

    Request timeout in milliseconds.