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 public static bool IsRestricted(
string headerName
)
Parameters
- headerName
- Type: SystemString
A String that represents the name of the header to test.
Return Value
Type:
Booleantrue if the header is restricted; otherwise,
false.
Exceptions Exception | Condition |
---|
ArgumentNullException | headerName is or empty.
|
ArgumentException | headerName contains invalid characters.
|
See Also