Cotal TypeScript packages
    Preparing search index...

    Function tlsIntent

    • Required TLS from an explicit flag or a checked broker URL's scheme. The TCP client drops the scheme, so tls:// must also become a dial option. WebSocket TLS is enforced by wss://.

      Parameters

      • server: string
      • tlsFlag: boolean

      Returns boolean