Skip to content

Commit cd78785

Browse files
committed
SocksProxyConfiguration type
1 parent 95fcebd commit cd78785

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

dotnet/src/webdriver/BiDi/Session/ProxyConfiguration.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,26 @@ public record AutoDetectProxyConfiguration : ProxyConfiguration;
3434

3535
public record DirectProxyConfiguration : ProxyConfiguration;
3636

37-
public record ManualProxyConfiguration : ProxyConfiguration
37+
public record ManualProxyConfiguration : ProxyConfiguration, ISocksProxyConfiguration
3838
{
3939
public string? HttpProxy { get; set; }
4040

4141
public string? SslProxy { get; set; }
4242

4343
public string? SocksProxy { get; set; }
4444

45-
public int? SocksVersion { get; set; } // 0..255
45+
public int? SocksVersion { get; set; }
4646

4747
public IEnumerable<string>? NoProxy { get; set; }
4848
}
4949

5050
public record PacProxyConfiguration(string ProxyAutoConfigUrl) : ProxyConfiguration;
5151

5252
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+
}

0 commit comments

Comments
 (0)