Click or drag to resize

WebHeaderCollectionRemove Method (String)

Removes the specified header from the collection.

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

Parameters

name
Type: SystemString
A String that represents the name of the header to remove.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is or empty.
ArgumentException

name contains invalid characters.

-or-

name is a restricted header name.

InvalidOperationException The current WebHeaderCollection instance doesn't allow the header name.
See Also