StyleWebSocketService class abstract
- Inheritance
-
- Object
- WebSocketService
- StyleWebSocketService
- Implementers
Constructors
- StyleWebSocketService({bool allowOnlyAuth = true})
-
factory
Properties
-
connections
↔ HashMap<
String, WebSocketConnection> -
WebSocket connections by client identifier
getter/setter pairinherited
- context ↔ BuildContext
-
The context in which the service attached
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized ↔ bool
-
Service is initialized
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
component(
BuildContext context) → Component -
inherited
-
connect(
HttpRequest request, [WebSocketConnectionRequest? connectionRequest]) → Future< WebSocketConnection> -
ensureInitialize(
) → Future< bool> -
Wait service is initialized.
inherited
-
init(
[bool inInterface = true]) → Future< bool> -
Init Service
inherited
-
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