WebHeaderCollection..::..IsRestricted Method (String, Boolean)
Determines whether the specified header can be set for the request or the response.
Namespace:
WebSocketSharp.NetAssembly: C-DEngine (in C-DEngine.dll)
Syntax
Parameters
- response
- Type: Boolean
true if does the test for the response; for the request, false.
Return Value
true if the header is restricted; otherwise, false.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | headerName is nullNothingnullptra null reference (Nothing in Visual Basic) or empty. |
ArgumentException | headerName contains invalid characters. |