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);
387
if ((transportType &
_httpConnectionOptions
.Transports) == 0)
403
_httpConnectionOptions
.UseStatefulReconnect = transportType == HttpTransportType.WebSockets ?
_httpConnectionOptions
.UseStatefulReconnect : false;
461
if (
_httpConnectionOptions
.UseStatefulReconnect)
555
if (
_httpConnectionOptions
!= null)
560
if (
_httpConnectionOptions
.Proxy != null)
562
httpClientHandler.Proxy =
_httpConnectionOptions
.Proxy;
569
httpClientHandler.CookieContainer =
_httpConnectionOptions
.Cookies;
582
var clientCertificates =
_httpConnectionOptions
.ClientCertificates;
588
if (
_httpConnectionOptions
.UseDefaultCredentials != null)
590
httpClientHandler.UseDefaultCredentials =
_httpConnectionOptions
.UseDefaultCredentials.Value;
593
allowHttp2 = !
_httpConnectionOptions
.UseDefaultCredentials.Value;
596
if (
_httpConnectionOptions
.Credentials != null)
598
httpClientHandler.Credentials =
_httpConnectionOptions
.Credentials;
606
if (
_httpConnectionOptions
.HttpMessageHandlerFactory != null)
608
httpMessageHandler =
_httpConnectionOptions
.HttpMessageHandlerFactory(httpClientHandler);
633
if (
_httpConnectionOptions
?.Headers != null)
635
foreach (var header in
_httpConnectionOptions
.Headers)