Merge pull request #1619 from keichinger/patch-1
Fix typo and add highlighting
This commit is contained in:
commit
556d42b930
|
@ -85,7 +85,7 @@ AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false);
|
|||
|
||||
The AppContext switch can also be set by config file.
|
||||
|
||||
The same can be achieved via the environment variable `DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER`. To opt out, set the value to either alse or 0.
|
||||
The same can be achieved via the environment variable `DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER`. To opt out, set the value to either `false` or `0`.
|
||||
|
||||
On Windows, you can choose to use `WinHttpHandler` or `SocketsHttpHandler` on a call-by-call basis. To do that, instantiate one of those types and then pass it to [HttpClient](https://docs.microsoft.com/dotnet/api/system.net.http.httpclient.-ctor) when you instantiate it.
|
||||
|
||||
|
|
Loading…
Reference in a new issue