SyncWebSocketErrorCode enum
Web socket errors.
These errors will be reported via the error handlers of the affected sessions.
Constructors
- SyncWebSocketErrorCode(int code)
-
const
Values
- websocketResolveFailed → const SyncWebSocketErrorCode
-
Web socket resolution failed
SyncWebSocketErrorCode(4400)
- websocketConnectionClosedClient → const SyncWebSocketErrorCode
-
Web socket connection closed by the client
SyncWebSocketErrorCode(4401)
- websocketConnectionClosedServer → const SyncWebSocketErrorCode
-
Web socket connection closed by the server
SyncWebSocketErrorCode(4402)
- unknown → const SyncWebSocketErrorCode
-
Unknown resolve errors
SyncWebSocketErrorCode(9999)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromInt(
int code) → SyncWebSocketErrorCode
Constants
-
values
→ const List<
SyncWebSocketErrorCode> -
A constant List of the values in this enum, in order of their declaration.
[websocketResolveFailed, websocketConnectionClosedClient, websocketConnectionClosedServer, unknown]