Base:
method
Add
System.Collections.Specialized.NameValueCollection.Add(System.String, System.String)
13 references to Add
Binding.ReliableSession.IntegrationTests (2)
NetHttpBindingTests.cs (1)
316
httpRequestMessageProperty.Headers.
Add
(secondRequestHeaderName, secondRequestHeaderName);
WSHttpBindingTests.cs (1)
316
httpRequestMessageProperty.Headers.
Add
(secondRequestHeaderName, secondRequestHeaderName);
Microsoft.Extensions.Http.Diagnostics (3)
Http\HttpDiagnosticsHttpWebRequestExtensions.cs (3)
24
request.Headers.
Add
(Constants.HttpWebConstants.RequestRouteHeader, metadata.RequestRoute);
25
request.Headers.
Add
(Constants.HttpWebConstants.RequestNameHeader, metadata.RequestName);
26
request.Headers.
Add
(Constants.HttpWebConstants.DependencyNameHeader, metadata.DependencyName);
System.Net.HttpListener (6)
System\Net\HttpListenerResponse.cs (2)
29
_webHeaders.
Add
(headerName, value[headerName]);
182
Headers.
Add
(name, value);
System\Net\Managed\WebSockets\HttpWebSocket.Managed.cs (4)
40
response.Headers.
Add
(HttpKnownHeaderNames.SecWebSocketProtocol, outgoingSecWebSocketProtocolString);
47
response.Headers.
Add
(HttpKnownHeaderNames.Connection, HttpKnownHeaderNames.Upgrade);
48
response.Headers.
Add
(HttpKnownHeaderNames.Upgrade, WebSocketUpgradeToken);
49
response.Headers.
Add
(HttpKnownHeaderNames.SecWebSocketAccept, secWebSocketAccept);
System.Net.WebHeaderCollection (2)
System\Net\WebHeaderCollection.cs (2)
295
this.
Add
(header.GetName(), value);
304
this.
Add
(header.GetName(), value);