public void Configure()

in src/Microsoft.Azure.SignalR.Management/ManagementHubOptionsSetup.cs [33:67]


        public void Configure(HubOptions options)
        {
            if (options.KeepAliveInterval == null)
            {
                // The default keep - alive interval. This is set to exactly half of the default client timeout window,
                // to ensure a ping can arrive in time to satisfy the client timeout.
                options.KeepAliveInterval = DefaultKeepAliveInterval;
            }

            if (options.HandshakeTimeout == null)
            {
                options.HandshakeTimeout = DefaultHandshakeTimeout;
            }
#if NETCOREAPP
            if (options.MaximumReceiveMessageSize == null)
            {
                options.MaximumReceiveMessageSize = DefaultMaximumMessageSize;
            }

            if (options.StreamBufferCapacity == null)
            {
                options.StreamBufferCapacity = DefaultStreamBufferCapacity;
            }
#endif
            if (options.SupportedProtocols == null)
            {
                options.SupportedProtocols = new List<string>();
            }

            foreach (var protocol in _defaultProtocols)
            {
                options.SupportedProtocols.Add(protocol);
            }

        }