1 write to _httpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
153
_httpConnectionOptions
= httpConnectionOptions;
25 references to _httpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (25)
HttpConnection.cs (25)
155
_url =
_httpConnectionOptions
.Url;
190
return StartAsync(
_httpConnectionOptions
.DefaultTransferFormat, cancellationToken);
312
_accessTokenProvider =
_httpConnectionOptions
.AccessTokenProvider;
316
if (
_httpConnectionOptions
.SkipNegotiation)
318
if (
_httpConnectionOptions
.Transports == HttpTransportType.WebSockets)
320
Log.StartingTransport(_logger,
_httpConnectionOptions
.Transports, uri);
321
await StartTransport(uri,
_httpConnectionOptions
.Transports, transferFormat, cancellationToken, useStatefulReconnect: false).ConfigureAwait(false);
394
if ((transportType &
_httpConnectionOptions
.Transports) == 0)
410
_httpConnectionOptions
.UseStatefulReconnect = transportType == HttpTransportType.WebSockets ?
_httpConnectionOptions
.UseStatefulReconnect : false;
471
if (
_httpConnectionOptions
.UseStatefulReconnect)
577
if (
_httpConnectionOptions
!= null)
582
if (
_httpConnectionOptions
.Proxy != null)
584
httpClientHandler.Proxy =
_httpConnectionOptions
.Proxy;
591
httpClientHandler.CookieContainer =
_httpConnectionOptions
.Cookies;
604
var clientCertificates =
_httpConnectionOptions
.ClientCertificates;
610
if (
_httpConnectionOptions
.UseDefaultCredentials != null)
612
httpClientHandler.UseDefaultCredentials =
_httpConnectionOptions
.UseDefaultCredentials.Value;
615
allowHttp2 = !
_httpConnectionOptions
.UseDefaultCredentials.Value;
618
if (
_httpConnectionOptions
.Credentials != null)
620
httpClientHandler.Credentials =
_httpConnectionOptions
.Credentials;
628
if (
_httpConnectionOptions
.HttpMessageHandlerFactory != null)
630
httpMessageHandler =
_httpConnectionOptions
.HttpMessageHandlerFactory(httpClientHandler);
655
if (
_httpConnectionOptions
?.Headers != null)
657
foreach (var header in
_httpConnectionOptions
.Headers)