37 references to WebHeaderCollectionType
System (37)
net\System\Net\_Connection.cs (1)
2615
m_ResponseData.m_ResponseHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.HttpWebResponse);
net\System\Net\filewebrequest.cs (1)
56
m_headers = new WebHeaderCollection(
WebHeaderCollectionType
.FileWebRequest);
net\System\Net\filewebresponse.cs (1)
57
m_headers = new WebHeaderCollection(
WebHeaderCollectionType
.FileWebResponse);
net\System\Net\FtpWebRequest.cs (1)
1830
m_FtpRequestHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.FtpWebRequest);
net\System\Net\FtpWebResponse.cs (1)
149
m_FtpRequestHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.FtpWebResponse);
net\System\Net\HttpListenerResponse.cs (1)
44
m_WebHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.HttpListenerResponse);
net\System\Net\HttpWebRequest.cs (2)
2665
WebHeaderCollection newWebHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.HttpWebRequest);
5154
_HttpRequestHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.HttpWebRequest);
net\System\Net\UnsafeNativeMethods.cs (1)
2981
WebHeaderCollection headerCollection = new WebHeaderCollection(
WebHeaderCollectionType
.HttpListenerRequest);
net\System\Net\webclient.cs (3)
204
m_headers = new WebHeaderCollection(
WebHeaderCollectionType
.WebRequest);
602
m_headers = new WebHeaderCollection(
WebHeaderCollectionType
.WebRequest);
742
m_headers = new WebHeaderCollection(
WebHeaderCollectionType
.WebRequest);
net\System\Net\WebHeaderCollection.cs (24)
247
private
WebHeaderCollectionType
m_Type;
252
if (m_Type==
WebHeaderCollectionType
.Unknown) {
253
m_Type =
WebHeaderCollectionType
.WebRequest;
255
return m_Type==
WebHeaderCollectionType
.WebRequest || m_Type==
WebHeaderCollectionType
.HttpWebRequest || m_Type==
WebHeaderCollectionType
.HttpListenerRequest;
261
if (m_Type==
WebHeaderCollectionType
.Unknown) {
262
m_Type =
WebHeaderCollectionType
.WebResponse;
264
return m_Type==
WebHeaderCollectionType
.WebResponse || m_Type==
WebHeaderCollectionType
.HttpWebResponse || m_Type==
WebHeaderCollectionType
.HttpListenerResponse;
307
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
327
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
346
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
359
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
392
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
561
if (m_Type ==
WebHeaderCollectionType
.HttpWebRequest)
568
else if (m_Type ==
WebHeaderCollectionType
.HttpListenerResponse)
622
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
665
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
699
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
717
if (m_Type==
WebHeaderCollectionType
.HttpListenerResponse) {
983
internal WebHeaderCollection(
WebHeaderCollectionType
type) : base(DBNull.Value)
986
if (type ==
WebHeaderCollectionType
.HttpWebResponse)
net\System\Net\WebSockets\ClientWebSocket.cs (1)
415
requestHeaders = new WebHeaderCollection(
WebHeaderCollectionType
.HttpWebRequest);