a client link for websocket

Inheritance

Constants

saltNameMap → Map<String, int>

const {'salt' : 0, 'saltS' : 1, 'saltL' : 2}

Constructors

Properties

dsId → String

final
enableAck → bool

read / write
format → String

format received from broker

read / write
formats → List

formats sent to broker

read / write
nonce ECDH

read-only
onConnected → Future

read-only
onRequesterReady → Future<Requester>

read-only
privateKey PrivateKey

final
requester Requester

final
responder Responder

final
salts → List<String>

2 salts, salt and saltS

final
token → String

final
tokenHash → String

read / write
hashCode → int

The hash code for this object.

read-only, inherited
logName → String

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

close() → void

connect() → Future

initWebsocket([bool reconnect = true ]) → dynamic

updateSalt(String salt, [ int saltId = 0 ]) → dynamic

shortPolling is only valid in http mode saltId: 0 salt, 1:saltS, 2:saltL

formatLogMessage(String msg) → String

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited