18 instantiations of WebHeaderCollection
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
207var headers = new WebHeaderCollection();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
114var webHeaders = new WebHeaderCollection();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
226_headers = new WebHeaderCollection();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
251_headers = new WebHeaderCollection();
PresentationCore (2)
MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
191_headers = new WebHeaderCollection();
System\IO\Packaging\PackWebResponse.cs (1)
725return new WebHeaderCollection();
System.Net.HttpListener (3)
System\Net\HttpListenerResponse.cs (2)
19private WebHeaderCollection _webHeaders = new WebHeaderCollection(); 26_webHeaders = new WebHeaderCollection();
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
73_headers = new WebHeaderCollection();
System.Net.Requests (7)
System\Net\FileWebRequest.cs (1)
16private readonly WebHeaderCollection _headers = new WebHeaderCollection();
System\Net\FileWebResponse.cs (1)
38_headers = new WebHeaderCollection();
System\Net\FtpWebRequest.cs (1)
1563get => _ftpRequestHeaders ??= new WebHeaderCollection();
System\Net\FtpWebResponse.cs (1)
104_ftpRequestHeaders ??= new WebHeaderCollection();
System\Net\HttpWebRequest.cs (2)
36private WebHeaderCollection _webHeaderCollection = new WebHeaderCollection(); 910WebHeaderCollection newWebHeaders = new WebHeaderCollection();
System\Net\HttpWebResponse.cs (1)
201_webHeaderCollection = new WebHeaderCollection();
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
191get { return _headers ??= new WebHeaderCollection(); }
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocketOptions.cs (1)
83internal WebHeaderCollection RequestHeaders => _requestHeaders ??= new WebHeaderCollection();
71 references to WebHeaderCollection
dotnet-svcutil-lib (28)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketFactory.cs (1)
23public abstract Task<WebSocket> CreateWebSocketAsync(Uri address, WebHeaderCollection headers, ICredentials credentials, WebSocketTransportSettings settings, TimeoutHelper timeoutHelper);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
207var headers = new WebHeaderCollection();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrClientWebSocketFactory.cs (1)
16public override async Task<WebSocket> CreateWebSocketAsync(Uri address, WebHeaderCollection headers, ICredentials credentials,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1053WebHeaderCollection requestHeaders = requestProperty.Headers;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (5)
81internal static void MergeWebHeaderCollection(this HttpRequestMessage requestMessage, WebHeaderCollection headersToMerge) 87internal static void MergeWebHeaderCollectionWithHttpHeaders(WebHeaderCollection headersToMerge, HttpHeaders mainHeaders, HttpHeaders contentHeaders) 102internal static WebHeaderCollection ToWebHeaderCollection(this HttpRequestMessage httpRequest) 112internal static WebHeaderCollection ToWebHeaderCollection(this IEnumerable<KeyValuePair<string, IEnumerable<string>>> headers) 114var webHeaders = new WebHeaderCollection();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageProperty.cs (8)
25internal HttpRequestMessageProperty(WebHeaderCollection originalHeaders) 42public WebHeaderCollection Headers 212private WebHeaderCollection _headers; 213private WebHeaderCollection _originalHeaders; 215public TraditionalHttpRequestMessageProperty(WebHeaderCollection originalHeaders) : this() 220public WebHeaderCollection Headers 273private WebHeaderCollection _headers; 275public WebHeaderCollection Headers
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageExtensionMethods.cs (2)
42internal static void MergeWebHeaderCollection(this HttpResponseMessage responseMessage, WebHeaderCollection headersToMerge) 48internal static WebHeaderCollection ToWebHeaderCollection(this HttpResponseMessage httpResponse)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageProperty.cs (8)
25internal HttpResponseMessageProperty(WebHeaderCollection originalHeaders) 42public WebHeaderCollection Headers 237private WebHeaderCollection _headers; 238private WebHeaderCollection _originalHeaders; 240public TraditionalHttpResponseMessageProperty(WebHeaderCollection originalHeaders) : this() 245public WebHeaderCollection Headers 300private WebHeaderCollection _headers; 302public WebHeaderCollection Headers
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
56WebHeaderCollection requestHeaders = requestProperty.Headers;
netstandard (1)
netstandard.cs (1)
1303[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebHeaderCollection))]
PresentationCore (7)
MS\Internal\AppModel\CookieHandler.cs (1)
69WebHeaderCollection headers = httpResponse.Headers;
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
752static private bool CheckContentRange(WebHeaderCollection responseHeaders, int beginOffset, ref int endOffset)
MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
185public override WebHeaderCollection Headers 374private WebHeaderCollection _headers; // empty is default
System\IO\Packaging\PackWebRequest.cs (1)
304public override WebHeaderCollection Headers
System\IO\Packaging\PackWebResponse.cs (2)
301public override WebHeaderCollection Headers 720internal WebHeaderCollection Headers
System (1)
src\libraries\shims\System\ref\System.cs (1)
793[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebHeaderCollection))]
System.Net (1)
System.Net.cs (1)
53[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebHeaderCollection))]
System.Net.HttpListener (8)
System\Net\HttpListenerResponse.cs (2)
19private WebHeaderCollection _webHeaders = new WebHeaderCollection(); 21public WebHeaderCollection Headers
System\Net\Managed\ChunkedInputStream.cs (2)
63WebHeaderCollection coll = (WebHeaderCollection)context.Request.Headers;
System\Net\Managed\ChunkStream.cs (2)
73internal WebHeaderCollection _headers; 84public ChunkStream(WebHeaderCollection headers)
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
62private readonly WebHeaderCollection _headers;
System\Net\Managed\HttpListenerResponse.Managed.cs (1)
290private static string FormatHeaders(WebHeaderCollection headers)
System.Net.Requests (18)
System\Net\FileWebRequest.cs (2)
16private readonly WebHeaderCollection _headers = new WebHeaderCollection(); 80public override WebHeaderCollection Headers => _headers;
System\Net\FileWebResponse.cs (2)
18private readonly WebHeaderCollection _headers; 86public override WebHeaderCollection Headers
System\Net\FtpWebRequest.cs (2)
219private WebHeaderCollection? _ftpRequestHeaders; 1561public override WebHeaderCollection Headers
System\Net\FtpWebResponse.cs (2)
18private WebHeaderCollection? _ftpRequestHeaders; 96public override WebHeaderCollection Headers
System\Net\HttpWebRequest.cs (5)
27public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection httpHeaders); 36private WebHeaderCollection _webHeaderCollection = new WebHeaderCollection(); 895public override WebHeaderCollection Headers 909WebHeaderCollection webHeaders = value; 910WebHeaderCollection newWebHeaders = new WebHeaderCollection();
System\Net\HttpWebResponse.cs (2)
27private WebHeaderCollection? _webHeaderCollection; 194public override WebHeaderCollection Headers
System\Net\WebHeaderCollection.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebHeaderCollection))]
System\Net\WebRequest.cs (1)
415public virtual WebHeaderCollection Headers
System\Net\WebResponse.cs (1)
134public virtual WebHeaderCollection Headers
System.Net.WebClient (5)
System\Net\WebClient.cs (5)
29private WebHeaderCollection? _headers; 189public WebHeaderCollection Headers 202public WebHeaderCollection? ResponseHeaders => _webResponse?.Headers; 480WebHeaderCollection headers = Headers; 592WebHeaderCollection headers = Headers;
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocketOptions.cs (2)
28internal WebHeaderCollection? _requestHeaders; 83internal WebHeaderCollection RequestHeaders => _requestHeaders ??= new WebHeaderCollection();