C-DEngine 5.105

WebHeaderCollection..::..Remove Method (HttpRequestHeader)

Removes the specified request header from the collection.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void Remove(
	HttpRequestHeader header
)
Public Sub Remove ( _
	header As HttpRequestHeader _
)
public:
void Remove(
	HttpRequestHeader^ header
)

Parameters

header
Type: WebSocketSharp.Net..::..HttpRequestHeader
One of the HttpRequestHeader enum values, represents the request header to remove.

Exceptions


ExceptionCondition
ArgumentExceptionheader is a restricted header.
InvalidOperationException The current WebHeaderCollection instance doesn't allow the request header.