Set request header.
Namespace:
Rebex.Net
Assembly:
Rebex.WebSocket (in Rebex.WebSocket.dll)
Syntax
Visual Basic |
---|
Public Sub SetRequestHeader ( _ headerName As String, _ headerValue As String _ ) |
C# |
---|
public void SetRequestHeader( string headerName, string headerValue ) |
Parameters
- headerName
- Type: System..::..String
Header name.
- headerValue
- Type: System..::..String
Header value.