C-DEngine 5.105

Ext..::..IsCloseStatusCode Method

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)

Syntax


public static bool IsCloseStatusCode(
	ushort value
)
Public Shared Function IsCloseStatusCode ( _
	value As UShort _
) As Boolean
public:
static bool^ IsCloseStatusCode(
	unsigned short^ value
)

Parameters

value
Type: UInt16
A UInt16 to test.

Return Value

true if value is in the allowable range of the WebSocket close status code; otherwise, false.

Remarks


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. -