Determines whether the specified
UInt16 is in the allowable range of
the WebSocket close status code.
Namespace:
WebSocketSharp
Assembly:
C-DEngine (in C-DEngine.dll)
public static bool IsCloseStatusCode(
ushort value
)
Public Shared Function IsCloseStatusCode ( _
value As UShort _
) As Boolean
Return Value
true if
value is in the allowable range of the WebSocket
close status code; otherwise,
false.
Not allowable ranges are the following:
-
Numbers in the range 0-999 are not used.
-
-
Numbers greater than 4999 are out of the reserved close status code ranges.
-