AcpWebSocketServerSession class final

Lifecycle handle for one accepted ACP WebSocket.

Properties

closed Future<void>
Completes after the socket, subscriptions, and connection are released.
no setter
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Whether initialization completed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({int code = 1001, String reason = 'Server shutting down'}) Future<void>
Closes this socket. Server-initiated shutdown defaults to code 1001.
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