public ClusterInfoListener()

in src/Library/ClusterInfoListener.cs [22:39]


        public ClusterInfoListener(string config)
        {
            if (!HttpListener.IsSupported)
            {
                string logLine = FormattableString.Invariant($"HttpListener is not supported");
                Diagnostics.LogError(logLine);
                throw new InvalidOperationException(logLine);
            }

            if (String.IsNullOrEmpty(config))
            {
                string logLine = FormattableString.Invariant($"config missing");
                Diagnostics.LogError(logLine);
                throw new ArgumentException(logLine);
            }

            this.config = new Configuration(config);
        }