System.Net.WebSockets.ClientWebSocketOptions.SetRequestHeader Method

Creates a HTTP request header and its value.

Syntax

public void SetRequestHeader (string headerName, string headerValue)

Parameters

headerName
The name of the HTTP header.
headerValue
The value of the HTTP header.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net.WebSockets
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0