a client link for both http and ws
- Inheritance
- Object
- BaseLink
- ClientLink
- HttpClientLink
Constants
- saltNameMap → Map<String, int>
-
const {'salt' : 0, 'saltS' : 1, 'saltL' : 2}
Constructors
- HttpClientLink(String _conn, String dsIdPrefix, PrivateKey privateKey, { NodeProvider nodeProvider, bool isRequester: true, bool isResponder: true, Requester overrideRequester, Responder overrideResponder, bool strictTls: false, String home, String token, Map linkData, List formats })
Properties
- dsId → String
-
final
- enableAck → bool
-
read / write
- format → String
-
format received from broker
read / write - formats → List
-
formats sent to broker
read / write - home → String
-
final
- linkData → Map
-
read / write
- logName → String
-
@override, read / write
- nonce → ECDH
-
read-only
- onConnected → Future
-
read-only
- onRequesterReady → Future<Requester>
-
read-only
- privateKey → PrivateKey
-
final
- reconnectWSCount → int
-
read / write
- remotePath → String
-
read / write
- requester → Requester
-
read / write
- responder → Responder
-
read / write
- salts → List<String>
-
2 salts, salt and saltS
final - strictTls → bool
-
final
- token → String
-
final
- tokenHash → String
-
read / write
- useStandardWebSocket → bool
-
read / write
- 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
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
close(
) → void -
connDelay(
) → dynamic -
connect(
) → Future -
initWebsocket(
[bool reconnect = true ]) → Future -
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