WebSocketClientState$Open class final
Connection is open and ready to communicate. WebSocket client state.
{@category Client} {@category Entity}
- Inheritance
-
- Object
- WebSocketClientState
- WebSocketClientState$Open
Constructors
- WebSocketClientState$Open.new({required String url})
-
WebSocket client state.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- readyState → WebSocketReadyState
-
Returns the current state of the connection.
0 : CONNECTING - Socket has been created. The connection is not yet open.
1 : OPEN - The connection is open and ready to communicate.
2 : CLOSING - The connection is in the process of closing.
3 : CLOSED - The connection is closed or couldn't be opened.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
The URL connected to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override