1 write to _webHeaderCollection
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
921
_webHeaderCollection
= newWebHeaders;
23 references to _webHeaderCollection
System.Net.Requests (23)
System\Net\HttpWebRequest.cs (23)
217
_webHeaderCollection
.Remove(HeaderName);
220
_webHeaderCollection
[HeaderName] = value;
228
return
_webHeaderCollection
[HttpKnownHeaderNames.Accept];
279
return
_webHeaderCollection
[HttpKnownHeaderNames.ContentType];
329
long.TryParse(
_webHeaderCollection
[HttpKnownHeaderNames.ContentLength], out value);
355
return
_webHeaderCollection
[HttpKnownHeaderNames.UserAgent];
426
return
_webHeaderCollection
[HttpKnownHeaderNames.Referer];
448
return
_webHeaderCollection
[HttpKnownHeaderNames.TransferEncoding];
461
_webHeaderCollection
.Remove(HttpKnownHeaderNames.TransferEncoding);
486
_webHeaderCollection
[HttpKnownHeaderNames.TransferEncoding] = checkedValue;
589
return
_webHeaderCollection
[HttpKnownHeaderNames.Connection];
601
_webHeaderCollection
.Remove(HttpKnownHeaderNames.Connection);
620
_webHeaderCollection
[HttpKnownHeaderNames.Connection] = checkedValue;
639
return
_webHeaderCollection
[HttpKnownHeaderNames.Expect];
652
_webHeaderCollection
.Remove(HttpKnownHeaderNames.Expect);
669
_webHeaderCollection
[HttpKnownHeaderNames.Expect] = checkedValue;
899
return
_webHeaderCollection
;
1193
foreach (string headerName in
_webHeaderCollection
)
1201
_sendRequestMessage.Content.Headers.TryAddWithoutValidation(headerName,
_webHeaderCollection
[headerName!]);
1205
_sendRequestMessage.Headers.TryAddWithoutValidation(headerName,
_webHeaderCollection
[headerName!]);
1535
string? curRange =
_webHeaderCollection
[HttpKnownHeaderNames.Range];
1554
_webHeaderCollection
[HttpKnownHeaderNames.Range] = curRange;
1602
string? headerValue =
_webHeaderCollection
[headerName];