C-DEngine 5.105

WebHeaderCollection..::..IsRestricted Method (String)

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

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

Syntax


public static bool IsRestricted(
	string headerName
)
Public Shared Function IsRestricted ( _
	headerName As String _
) As Boolean
public:
static bool^ IsRestricted(
	String^ headerName
)

Parameters

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

Return Value

true if the header is restricted; otherwise, false.

Exceptions


ExceptionCondition
ArgumentNullExceptionheaderName is nullNothingnullptra null reference (Nothing in Visual Basic) or empty.
ArgumentExceptionheaderName contains invalid characters.