Adds an HTTP request header to the HTTP request message used in the WebSocket protocol handshake by the IWebSocket object.
public:
void SetRequestHeader(
String^ headerName,
String^ headerValue
)
headerName
Type: String
The name of the request header.
headerValue
Type: String
The value of the request header.
Namespace: Windows.Networking.Sockets
Metadata: windows.winmd