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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also