xmpp-httpx - v0.11.0
    Preparing search index...

    Function splitAuthority

    • "host:port" or "[v6]:port" → parts. The library has already checked the form.

      Parameters

      • authority: string

      Returns { host: string; port: number }