Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ConstructSystemProxy()

static IWebProxy System.Net.Http.SystemProxyInfo.ConstructSystemProxy ( )
inlinestatic

Definition at line 9 of file SystemProxyInfo.cs.

10 {
11 if (!HttpEnvironmentProxy.TryCreate(out var proxy))
12 {
13 HttpWindowsProxy.TryCreate(out proxy);
14 }
15 return proxy ?? new HttpNoProxy();
16 }

References System.Net.Http.HttpEnvironmentProxy.TryCreate(), and System.Net.Http.HttpWindowsProxy.TryCreate().