IGPAPI
    Preparing search index...

    Type Alias TransportProtocolMode

    TransportProtocolMode: NonNullable<ClientOptions["protocolMode"]>

    Wire-protocol mode of the native transport. The transport owns the choice and the fallback; the library only passes the caller's intent.

    • auto — do what the app does for the profile. For ios.http: try HTTP/3 over QUIC with a short bounded attempt and fall back to HTTP/2 over TCP silently when it does not get through, decided per connection. For the Android profile: HTTP/2 only.
    • http2 — HTTP/2 over TCP only, for any profile.
    • http3 — HTTP/3 over QUIC only, an error when it cannot connect; rejected at client creation for the Android profile.