1 write to _sendRequestMessage
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1175_sendRequestMessage = new HttpRequestMessage(HttpMethod.Parse(_originVerb), _requestUri);
14 references to _sendRequestMessage
System.Net.Requests (14)
System\Net\HttpWebRequest.cs (14)
1181_sendRequestMessage.Content = content; 1186_sendRequestMessage.Headers.Host = Host; 1189AddCacheControlHeaders(_sendRequestMessage); 1200_sendRequestMessage.Content ??= new ByteArrayContent(Array.Empty<byte>()); 1201_sendRequestMessage.Content.Headers.TryAddWithoutValidation(headerName, _webHeaderCollection[headerName!]); 1205_sendRequestMessage.Headers.TryAddWithoutValidation(headerName, _webHeaderCollection[headerName!]); 1211_sendRequestMessage.Headers.ExpectContinue = true; 1214_sendRequestMessage.Headers.TransferEncodingChunked = SendChunked; 1218_sendRequestMessage.Headers.Connection.Add(HttpKnownHeaderNames.KeepAlive); 1222_sendRequestMessage.Headers.ConnectionClose = true; 1225_sendRequestMessage.Version = ProtocolVersion; 1230_httpClient.SendAsync(_sendRequestMessage, completionOption, _sendRequestCts.Token) : 1231Task.FromResult(_httpClient.Send(_sendRequestMessage, completionOption, _sendRequestCts.Token)); 1272_sendRequestMessage?.Dispose();