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