Cotal TypeScript packages
    Preparing search index...

    Function brokerUrlHasUserinfo

    • Whether a broker URL, or any URL in a comma-separated list, has a user name or password in it. A value with no scheme is read as nats://, as the NATS client reads it. That client keeps only a broker URL's host and port, so such credentials would be dropped in silence.

      Parameters

      • servers: string

      Returns boolean