Click or drag to resize

WebHeaderCollectionRemove Method (HttpRequestHeader)

Removes the specified request header from the collection.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void Remove(
	HttpRequestHeader header
)

Parameters

header
Type: Sfs2X.WebSocketSharp.NetHttpRequestHeader
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.
See Also