We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2342dad commit 6651936Copy full SHA for 6651936
WebApiClient/ProxyInfo.cs
@@ -32,6 +32,19 @@ public class ProxyInfo
32
/// </summary>
33
public string Password { get; set; }
34
35
+ /// <summary>
36
+ /// 代理信息
37
+ /// </summary>
38
+ /// <param name="proxyAddress">代理服务器地址</param>
39
+ /// <exception cref="ArgumentNullException"></exception>
40
+ /// <exception cref="ArgumentException"></exception>
41
+ /// <exception cref="ArgumentOutOfRangeException"></exception>
42
+ /// <exception cref="UriFormatException"></exception>
43
+ public ProxyInfo(string proxyAddress)
44
+ : this(new Uri(proxyAddress ?? throw new ArgumentNullException(nameof(proxyAddress))))
45
+ {
46
+ }
47
+
48
/// <summary>
49
/// 代理信息
50
0 commit comments