Socket class abstract

Implementers
Annotations
  • @anonymous
  • @JS()

Constructors

Socket()

Properties

hashCode int
The hash code for this object.
no setterinherited
onactivity Function?
getter/setter pair
onclose ↔ (dynamic Function(dynamic closeEvent)?)
getter/setter pair
onerror ↔ (dynamic Function(dynamic error)?)
getter/setter pair
onmessage ↔ (dynamic Function(dynamic message)?)
getter/setter pair
onopen ↔ (dynamic Function([dynamic evt])?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close([dynamic code, dynamic reason]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ping() → void
send(dynamic payload) → void
sendRaw(dynamic payload) bool
toString() String
A string representation of this object.
inherited

Operators

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