Transport class

Constructors

Transport(dynamic sockets, [Map<String, int> recovery_options = C.recovery_options])

Properties

hashCode int
The hash code for this object.
no setterinherited
onconnect ↔ void Function(Transport transport)
getter/setter pair
onconnecting ↔ void Function(WebSocketInterface? socket, int? attempts)
getter/setter pair
ondata ↔ void Function(Transport transport, String messageData)
getter/setter pair
ondisconnect ↔ void Function(WebSocketInterface? socket, ErrorCause cause)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sip_uri String?
no setter
socket WebSocketInterface?
getter/setter pair
status int?
getter/setter pair
url String?
no setter
via_transport String
Instance Methods
no setter

Methods

connect() → void
disconnect() → void
isConnected() bool
isConnecting() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(dynamic data) bool
toString() String
A string representation of this object.
inherited

Operators

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