When set in KinetexRequest.httpVersion, the client attempts to use the specified version.
Falls back to the next available version if the requested version is unavailable:
HTTP/2 requires ALPN negotiation or h2 upgrade support
HTTP/3 requires HTTP/3-capable transport (experimental)
In most runtimes (Deno, Bun, Browser), HTTP/2 is negotiated automatically over TLS.
On Node.js, use createTransport with preferHTTP2: true for HTTP/2 support.
HTTP protocol versions supported by the library.
When set in KinetexRequest.httpVersion, the client attempts to use the specified version. Falls back to the next available version if the requested version is unavailable:
HTTP/2requires ALPN negotiation or h2 upgrade supportHTTP/3requires HTTP/3-capable transport (experimental)In most runtimes (Deno, Bun, Browser), HTTP/2 is negotiated automatically over TLS. On Node.js, use createTransport with
preferHTTP2: truefor HTTP/2 support.