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;
183
return StartAsync(
_httpConnectionOptions
.DefaultTransferFormat, cancellationToken);
305
_accessTokenProvider =
_httpConnectionOptions
.AccessTokenProvider;
309
if (
_httpConnectionOptions
.SkipNegotiation)
311
if (
_httpConnectionOptions
.Transports == HttpTransportType.WebSockets)
313
Log.StartingTransport(_logger,
_httpConnectionOptions
.Transports, uri);
314
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;
464
if (
_httpConnectionOptions
.UseStatefulReconnect)
558
if (
_httpConnectionOptions
!= null)
563
if (
_httpConnectionOptions
.Proxy != null)
565
httpClientHandler.Proxy =
_httpConnectionOptions
.Proxy;
572
httpClientHandler.CookieContainer =
_httpConnectionOptions
.Cookies;
585
var clientCertificates =
_httpConnectionOptions
.ClientCertificates;
591
if (
_httpConnectionOptions
.UseDefaultCredentials != null)
593
httpClientHandler.UseDefaultCredentials =
_httpConnectionOptions
.UseDefaultCredentials.Value;
596
allowHttp2 = !
_httpConnectionOptions
.UseDefaultCredentials.Value;
599
if (
_httpConnectionOptions
.Credentials != null)
601
httpClientHandler.Credentials =
_httpConnectionOptions
.Credentials;
609
if (
_httpConnectionOptions
.HttpMessageHandlerFactory != null)
611
httpMessageHandler =
_httpConnectionOptions
.HttpMessageHandlerFactory(httpClientHandler);
636
if (
_httpConnectionOptions
?.Headers != null)
638
foreach (var header in
_httpConnectionOptions
.Headers)