1 write to _httpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
147
_httpConnectionOptions
= httpConnectionOptions;
25 references to _httpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (25)
HttpConnection.cs (25)
149
_url =
_httpConnectionOptions
.Url;
186
return StartAsync(
_httpConnectionOptions
.DefaultTransferFormat, cancellationToken);
308
_accessTokenProvider =
_httpConnectionOptions
.AccessTokenProvider;
312
if (
_httpConnectionOptions
.SkipNegotiation)
314
if (
_httpConnectionOptions
.Transports == HttpTransportType.WebSockets)
316
Log.StartingTransport(_logger,
_httpConnectionOptions
.Transports, uri);
317
await StartTransport(uri,
_httpConnectionOptions
.Transports, transferFormat, cancellationToken, useStatefulReconnect: false).ConfigureAwait(false);
390
if ((transportType &
_httpConnectionOptions
.Transports) == 0)
406
_httpConnectionOptions
.UseStatefulReconnect = transportType == HttpTransportType.WebSockets ?
_httpConnectionOptions
.UseStatefulReconnect : false;
467
if (
_httpConnectionOptions
.UseStatefulReconnect)
561
if (
_httpConnectionOptions
!= null)
566
if (
_httpConnectionOptions
.Proxy != null)
568
httpClientHandler.Proxy =
_httpConnectionOptions
.Proxy;
575
httpClientHandler.CookieContainer =
_httpConnectionOptions
.Cookies;
588
var clientCertificates =
_httpConnectionOptions
.ClientCertificates;
594
if (
_httpConnectionOptions
.UseDefaultCredentials != null)
596
httpClientHandler.UseDefaultCredentials =
_httpConnectionOptions
.UseDefaultCredentials.Value;
599
allowHttp2 = !
_httpConnectionOptions
.UseDefaultCredentials.Value;
602
if (
_httpConnectionOptions
.Credentials != null)
604
httpClientHandler.Credentials =
_httpConnectionOptions
.Credentials;
612
if (
_httpConnectionOptions
.HttpMessageHandlerFactory != null)
614
httpMessageHandler =
_httpConnectionOptions
.HttpMessageHandlerFactory(httpClientHandler);
639
if (
_httpConnectionOptions
?.Headers != null)
641
foreach (var header in
_httpConnectionOptions
.Headers)