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