7 references to SetRequestHeader
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrClientWebSocketFactory.cs (1)
30
webSocket.Options.
SetRequestHeader
(header, headers[header]);
Microsoft.AspNetCore.Http.Connections.Client (4)
Internal\WebSocketsTransport.cs (4)
104
webSocket.Options.
SetRequestHeader
("X-SignalR-User-Agent", Constants.UserAgentHeader.ToString());
109
webSocket.Options.
SetRequestHeader
("X-Requested-With", "XMLHttpRequest");
124
webSocket.Options.
SetRequestHeader
(header.Key, header.Value);
257
webSocket.Options.
SetRequestHeader
("Authorization", $"Bearer {accessToken}");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
HubConnectionTests.cs (1)
2698
websocket.Options.
SetRequestHeader
("Authorization", $"Bearer {authHeader}");
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
226
client.Options.
SetRequestHeader
(headerEntry.Key, headerEntry.Value);