2015-01-05 22:41:17 +08:00
|
|
|
|
using Wox.Plugin;
|
2014-07-18 20:00:55 +08:00
|
|
|
|
|
2015-01-05 22:41:17 +08:00
|
|
|
|
namespace Wox.Core.UserSettings
|
2014-07-18 20:00:55 +08:00
|
|
|
|
{
|
|
|
|
|
public class HttpProxy : IHttpProxy
|
|
|
|
|
{
|
|
|
|
|
private static readonly HttpProxy instance = new HttpProxy();
|
2016-04-21 08:53:21 +08:00
|
|
|
|
public Settings Settings { get; set; }
|
2016-03-28 10:09:57 +08:00
|
|
|
|
public static HttpProxy Instance => instance;
|
|
|
|
|
|
|
|
|
|
public bool Enabled => Settings.ProxyEnabled;
|
|
|
|
|
public string Server => Settings.ProxyServer;
|
|
|
|
|
public int Port => Settings.ProxyPort;
|
|
|
|
|
public string UserName => Settings.ProxyUserName;
|
|
|
|
|
public string Password => Settings.ProxyPassword;
|
2014-07-18 20:00:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|