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;
194
return StartAsync(
_httpConnectionOptions
.DefaultTransferFormat, cancellationToken);
316
_accessTokenProvider =
_httpConnectionOptions
.AccessTokenProvider;
320
if (
_httpConnectionOptions
.SkipNegotiation)
322
if (
_httpConnectionOptions
.Transports == HttpTransportType.WebSockets)
324
Log.StartingTransport(_logger,
_httpConnectionOptions
.Transports, uri);
325
await StartTransport(uri,
_httpConnectionOptions
.Transports, transferFormat, cancellationToken, useStatefulReconnect: false).ConfigureAwait(false);
398
if ((transportType &
_httpConnectionOptions
.Transports) == 0)
414
_httpConnectionOptions
.UseStatefulReconnect = transportType == HttpTransportType.WebSockets ?
_httpConnectionOptions
.UseStatefulReconnect : false;
475
if (
_httpConnectionOptions
.UseStatefulReconnect)
581
if (
_httpConnectionOptions
!= null)
586
if (
_httpConnectionOptions
.Proxy != null)
588
httpClientHandler.Proxy =
_httpConnectionOptions
.Proxy;
595
httpClientHandler.CookieContainer =
_httpConnectionOptions
.Cookies;
608
var clientCertificates =
_httpConnectionOptions
.ClientCertificates;
614
if (
_httpConnectionOptions
.UseDefaultCredentials != null)
616
httpClientHandler.UseDefaultCredentials =
_httpConnectionOptions
.UseDefaultCredentials.Value;
619
allowHttp2 = !
_httpConnectionOptions
.UseDefaultCredentials.Value;
622
if (
_httpConnectionOptions
.Credentials != null)
624
httpClientHandler.Credentials =
_httpConnectionOptions
.Credentials;
632
if (
_httpConnectionOptions
.HttpMessageHandlerFactory != null)
634
httpMessageHandler =
_httpConnectionOptions
.HttpMessageHandlerFactory(httpClientHandler);
660
if (
_httpConnectionOptions
?.Headers != null)
662
foreach (var header in
_httpConnectionOptions
.Headers)