@qualithm/arrow-flight-sql-js - v0.4.3
    Preparing search index...

    Class GrpcWebTransport

    Transport implementation using gRPC-web protocol. Works with browsers and Cloudflare Workers.

    Requires a gRPC-web proxy in front of the Flight SQL server.

    Implements

    Index

    Constructors

    Methods

    • Connect to the Flight SQL server

      Returns Promise<void>

    • GetFlightInfo - Get metadata about a flight

      Parameters

      • descriptor: { cmd?: Uint8Array<ArrayBufferLike>; path?: string[]; type: number }
      • Optionalmetadata: TransportMetadata

      Returns Promise<RawFlightInfo>

    • GetSchema - Get schema for a flight descriptor

      Parameters

      • descriptor: { cmd?: Uint8Array<ArrayBufferLike>; path?: string[]; type: number }
      • Optionalmetadata: TransportMetadata

      Returns Promise<{ schema: Uint8Array }>

    • Check if connected

      Returns boolean

    • Set authentication token for subsequent requests

      Parameters

      • token: string | null

      Returns void