Base:
method
Add
System.Collections.Specialized.NameValueCollection.Add(System.String, System.String)
1 override of Add
System.ServiceModel (1)
System\ServiceModel\Channels\HttpHeadersWebHeaderCollection.cs (1)
127
public override void
Add
(string name, string value)
31 references to Add
System (18)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
1299
ctx.CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, HttpRequestCacheValidator.Warning_111);
net\System\Net\Cache\HttpRequestCacheValidator.cs (6)
300
CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, HttpRequestCacheValidator.Warning_110);
303
CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, HttpRequestCacheValidator.Warning_112);
306
CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, HttpRequestCacheValidator.Warning_113);
359
CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, HttpRequestCacheValidator.Warning_110);
362
CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, HttpRequestCacheValidator.Warning_113);
1165
CacheHeaders.
Add
(HttpKnownHeaderNames.Warning, (string)remainingWarnings[i]);
net\System\Net\HttpListenerResponse.cs (2)
258
m_WebHeaders.
Add
(headerName, value[headerName]);
270
Headers.
Add
(name, value);
net\System\Net\HttpWebRequest.cs (1)
2674
newWebHeaders.
Add
(headerName,webHeaders[headerName]);
net\System\Net\WebHeaderCollection.cs (2)
320
this.
Add
(UnsafeNclNativeMethods.HttpApi.HTTP_REQUEST_HEADER_ID.ToString((int)header), value);
332
this.
Add
(UnsafeNclNativeMethods.HttpApi.HTTP_RESPONSE_HEADER_ID.ToString((int)header), value);
net\System\Net\WebSockets\ClientWebSocket.cs (2)
224
request.Headers.
Add
(key, options.RequestHeaders[key]);
230
request.Headers.
Add
(HttpKnownHeaderNames.SecWebSocketProtocol,
net\System\Net\WebSockets\WebSocketHelpers.cs (4)
102
response.Headers.
Add
(HttpKnownHeaderNames.SecWebSocketProtocol,
110
response.Headers.
Add
(HttpKnownHeaderNames.Connection, HttpKnownHeaderNames.Upgrade);
111
response.Headers.
Add
(HttpKnownHeaderNames.Upgrade, WebSocketHelpers.WebSocketUpgradeToken);
112
response.Headers.
Add
(HttpKnownHeaderNames.SecWebSocketAccept, secWebSocketAccept);
System.Data.Services (1)
System\Data\Services\BatchServiceHost.cs (1)
95
this.requestHeaders.
Add
(header.Key, header.Value);
System.ServiceModel (6)
System\ServiceModel\Channels\HttpChannelHelpers.cs (5)
1457
httpProperties.Headers.
Add
(EventTraceActivity.Name, Convert.ToBase64String(eventTraceActivity.ActivityId.ToByteArray()));
2401
httpWebRequest.Headers.
Add
(name, value);
2411
this.httpWebRequest.Headers.
Add
(HttpChannelUtilities.ContentEncodingHeader, contentEncoding);
2641
httpWebRequest.Headers.
Add
(name, value);
4245
HttpChannelUtilities.CopyHeaders(this.httpRequestMessage, headers.
Add
);
System\ServiceModel\Channels\HttpRequestContext.cs (1)
800
HttpChannelUtilities.CopyHeaders(response, this.listenerContext.Response.Headers.
Add
);
System.ServiceModel.Web (4)
System\ServiceModel\Description\WebScriptClientGenerator.cs (3)
82
responseMessageProperty.Headers.
Add
(JsonGlobals.LastModifiedString, ServiceLastModifiedRfc1123String);
83
responseMessageProperty.Headers.
Add
(JsonGlobals.ExpiresString, ServiceLastModifiedRfc1123String);
90
responseMessageProperty.Headers.
Add
(JsonGlobals.CacheControlString, JsonGlobals.publicString);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
423
responseProperty.Headers.
Add
(JsonGlobals.jsonerrorString, JsonGlobals.trueString);
System.Web.Services (2)
System\Web\Services\Protocols\RemoteDebugger.cs (1)
206
request.Headers.
Add
(debuggerHeader, bufferString);
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
539
request.Headers.
Add
(Soap.Action, actionStringBuilder.ToString());