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

    Function parseQuackUri

    • Parse a Quack connection string into the HTTP base URL used by the client.

      Bare hosts default to port 9494, and quack: URIs are normalized to HTTP(S): HTTP for local hosts and HTTPS otherwise, unless sslOverride is given.

      Parameters

      • input: string
      • OptionalsslOverride: boolean

      Returns ParsedQuackUri