WebSocket class

Interface for RFC6455 WebSocket protocol

Implementers

Constructors

WebSocket()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → void
connect(String address, Function onConnected, Function onError, {int timeoutSeconds = 15, bool ignoreBadCert = false}) → void
handleDone(Function doneHandler) → void
handleError(Function errorHandler) → void
listen(Function messageHandler) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
send(String text) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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