Click or drag to resize

WebHeaderCollectionIsRestricted Method (String)

Determines whether the specified header can be set for the request.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static bool IsRestricted(
	string headerName
)

Parameters

headerName
Type: SystemString
A String that represents the name of the header to test.

Return Value

Type: Boolean
true if the header is restricted; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionheaderName is or empty.
ArgumentExceptionheaderName contains invalid characters.
See Also