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