1 write to _httpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
155
_httpConnectionOptions
= httpConnectionOptions;
25 references to _httpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (25)
HttpConnection.cs (25)
159
_url =
_httpConnectionOptions
.Url;
200
return StartAsync(
_httpConnectionOptions
.DefaultTransferFormat, cancellationToken);
322
_accessTokenProvider =
_httpConnectionOptions
.AccessTokenProvider;
326
if (
_httpConnectionOptions
.SkipNegotiation)
328
if (
_httpConnectionOptions
.Transports == HttpTransportType.WebSockets)
330
Log.StartingTransport(_logger,
_httpConnectionOptions
.Transports, uri);
331
await StartTransport(uri,
_httpConnectionOptions
.Transports, transferFormat, cancellationToken, useStatefulReconnect: false).ConfigureAwait(false);
404
if ((transportType &
_httpConnectionOptions
.Transports) == 0)
420
_httpConnectionOptions
.UseStatefulReconnect = transportType == HttpTransportType.WebSockets ?
_httpConnectionOptions
.UseStatefulReconnect : false;
481
if (
_httpConnectionOptions
.UseStatefulReconnect)
587
if (
_httpConnectionOptions
!= null)
592
if (
_httpConnectionOptions
.Proxy != null)
594
httpClientHandler.Proxy =
_httpConnectionOptions
.Proxy;
601
httpClientHandler.CookieContainer =
_httpConnectionOptions
.Cookies;
614
var clientCertificates =
_httpConnectionOptions
.ClientCertificates;
620
if (
_httpConnectionOptions
.UseDefaultCredentials != null)
622
httpClientHandler.UseDefaultCredentials =
_httpConnectionOptions
.UseDefaultCredentials.Value;
625
allowHttp2 = !
_httpConnectionOptions
.UseDefaultCredentials.Value;
628
if (
_httpConnectionOptions
.Credentials != null)
630
httpClientHandler.Credentials =
_httpConnectionOptions
.Credentials;
638
if (
_httpConnectionOptions
.HttpMessageHandlerFactory != null)
640
httpMessageHandler =
_httpConnectionOptions
.HttpMessageHandlerFactory(httpClientHandler);
666
if (
_httpConnectionOptions
?.Headers != null)
668
foreach (var header in
_httpConnectionOptions
.Headers)