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