ClientWebSocketOptions::SetRequestHeader Method (String^, String^)
.NET Framework (current version)
Creates a HTTP request header and its value.
Assembly: System (in System.dll)
Parameters
- headerName
-
Type:
System::String^
The name of the HTTP header.
- headerValue
-
Type:
System::String^
The value of the HTTP header.
.NET Framework
Available since 4.5
Available since 4.5
Show: