/// <summary> /// Default values for system settings. /// </summary> /// <returns>Settings object.</returns> public static Settings Default() { Settings ret = new Settings(); ret.Environment = "linux"; ret.EnableConsole = true; ret.Logging = SettingsLogging.Default(); ret.Proxy = SettingsProxy.Default(); return(ret); }
/// <summary> /// Default values for proxy server settings. /// </summary> /// <returns>SettingsProxy object.</returns> public static SettingsProxy Default() { SettingsProxy ret = new SettingsProxy(); ret.AcceptInvalidCertificates = true; ret.ListenerPort = 8000; ret.ListenerIpAddress = "0.0.0.0"; ret.Ssl = false; ret.MaxThreads = 100; return(ret); }