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

    Function connectQwpBrowserWebSocket

    • Opens a QWP-capable browser WebSocket.

      Browsers cannot set Authorization or X-QWP-* upgrade headers. QuestDB accepts browser upgrades when Origin and Host have the same authority, or when the server lists the Origin in qwp.browser.allowed.origins. When authentication is enabled, a same-origin app can pass sessionBootstrap or call bootstrapQwpBrowserSession first so the browser can attach qdb_session; an app on a listed origin passes auth instead.

      Parameters

      Returns Promise<QwpBinaryConnection>