WebSocketStatus class Null safety

WebSocket status codes used when closing a WebSocket connection.

Constructors

WebSocketStatus()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

abnormalClosure → const int
1006
goingAway → const int
1001
internalServerError → const int
1011
invalidFramePayloadData → const int
1007
messageTooBig → const int
1009
missingMandatoryExtension → const int
1010
normalClosure → const int
1000
noStatusReceived → const int
1005
policyViolation → const int
1008
protocolError → const int
1002
reserved1004 → const int
1004
reserved1015 → const int
1015
unsupportedData → const int
1003