2 writes to Proxy
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
158
webSocket.Options.
Proxy
= context.Options.Proxy;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
35
public static ClientWebSocketOptions CreateDefaultOptions() => new ClientWebSocketOptions() {
Proxy
= DefaultWebProxy.Instance };
8 references to Proxy
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
155
var originalProxy = webSocket.Options.
Proxy
;
Microsoft.AspNetCore.SignalR.Tests (1)
WebSocketsTransportTests.cs (1)
57
Assert.Same(httpOptions.Proxy, webSocketsOptions.
Proxy
);
System.Net.WebSockets.Client (6)
System\Net\WebSockets\ClientWebSocketOptions.cs (2)
40
(
Proxy
is null ||
Proxy
== WebSocketHandle.DefaultWebProxy.Instance);
System\Net\WebSockets\WebSocketHandle.Managed.cs (4)
256
bool useDefaultProxy = options.
Proxy
is not null;
290
if (options.
Proxy
== null)
294
else if (options.
Proxy
!= DefaultWebProxy.Instance)
296
handler.Proxy = options.
Proxy
;