File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
dotnet/src/webdriver/BiDi/Session Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 17
17
// under the License.
18
18
// </copyright>
19
19
20
+ using System . Collections . Generic ;
20
21
using System . Text . Json . Serialization ;
21
22
22
23
namespace OpenQA . Selenium . BiDi . Session ;
@@ -33,19 +34,26 @@ public record AutoDetectProxyConfiguration : ProxyConfiguration;
33
34
34
35
public record DirectProxyConfiguration : ProxyConfiguration ;
35
36
36
- public record ManualProxyConfiguration : ProxyConfiguration
37
+ public record ManualProxyConfiguration : ProxyConfiguration , ISocksProxyConfiguration
37
38
{
38
- public string ? FtpProxy { get ; set ; }
39
-
40
39
public string ? HttpProxy { get ; set ; }
41
40
42
41
public string ? SslProxy { get ; set ; }
43
42
44
43
public string ? SocksProxy { get ; set ; }
45
44
46
- public long ? SocksVersion { get ; set ; }
45
+ public int ? SocksVersion { get ; set ; }
46
+
47
+ public IEnumerable < string > ? NoProxy { get ; set ; }
47
48
}
48
49
49
50
public record PacProxyConfiguration ( string ProxyAutoConfigUrl ) : ProxyConfiguration ;
50
51
51
52
public record SystemProxyConfiguration : ProxyConfiguration ;
53
+
54
+ public interface ISocksProxyConfiguration
55
+ {
56
+ public string ? SocksProxy { get ; set ; }
57
+
58
+ public int ? SocksVersion { get ; set ; } // 0..255
59
+ }
You can’t perform that action at this time.
0 commit comments