Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/client
WarpClient
Class WarpClient
Hierarchy
WarpClient
Implements
HostContext
RefContext
WarpRef
Index
Constructors
constructor
Methods
authenticate
close
command
did
Authenticate
did
Connect
did
Deauthenticate
did
Disconnect
did
Fail
downlink
downlink
List
downlink
Map
downlink
Value
host
Ref
is
Online
keep
Online
lane
Ref
node
Ref
observe
on
Offline
on
Online
unobserve
watch
Online
Constructors
constructor
new
Warp
Client
(
options
?:
WarpClientOptions
)
:
WarpClient
Parameters
options:
WarpClientOptions
= {}
Returns
WarpClient
Methods
authenticate
authenticate
(
hostUri
:
AnyUri
, credentials
:
AnyValue
)
:
void
Parameters
hostUri:
AnyUri
credentials:
AnyValue
Returns
void
close
close
(
)
:
void
Returns
void
command
command
(
hostUri
:
AnyUri
, nodeUri
:
AnyUri
, laneUri
:
AnyUri
, body
:
AnyValue
)
:
void
command
(
nodeUri
:
AnyUri
, laneUri
:
AnyUri
, body
:
AnyValue
)
:
void
Parameters
hostUri:
AnyUri
nodeUri:
AnyUri
laneUri:
AnyUri
body:
AnyValue
Returns
void
Parameters
nodeUri:
AnyUri
laneUri:
AnyUri
body:
AnyValue
Returns
void
did
Authenticate
did
Authenticate
(
didAuthenticate
:
WarpDidAuthenticate
)
:
WarpClient
Parameters
didAuthenticate:
WarpDidAuthenticate
Returns
WarpClient
did
Connect
did
Connect
(
didConnect
:
WarpDidConnect
)
:
WarpClient
Parameters
didConnect:
WarpDidConnect
Returns
WarpClient
did
Deauthenticate
did
Deauthenticate
(
didDeauthenticate
:
WarpDidDeauthenticate
)
:
WarpClient
Parameters
didDeauthenticate:
WarpDidDeauthenticate
Returns
WarpClient
did
Disconnect
did
Disconnect
(
didDisconnect
:
WarpDidDisconnect
)
:
WarpClient
Parameters
didDisconnect:
WarpDidDisconnect
Returns
WarpClient
did
Fail
did
Fail
(
didFail
:
WarpDidFail
)
:
WarpClient
Parameters
didFail:
WarpDidFail
Returns
WarpClient
downlink
downlink
(
init
?:
EventDownlinkInit
)
:
EventDownlink
Parameters
Optional
init:
EventDownlinkInit
Returns
EventDownlink
downlink
List
downlink
List
(
init
?:
ListDownlinkInit
<
Value
,
AnyValue
>
)
:
ListDownlink
<
Value
,
AnyValue
>
downlink
List<V, VU>
(
init
?:
ListDownlinkInit
<
V
,
VU
>
)
:
ListDownlink
<
V
,
VU
>
Parameters
Optional
init:
ListDownlinkInit
<
Value
,
AnyValue
>
Returns
ListDownlink
<
Value
,
AnyValue
>
Type parameters
V
VU =
never
Parameters
Optional
init:
ListDownlinkInit
<
V
,
VU
>
Returns
ListDownlink
<
V
,
VU
>
downlink
Map
downlink
Map
(
init
?:
MapDownlinkInit
<
Value
,
Value
,
AnyValue
,
AnyValue
>
)
:
MapDownlink
<
Value
,
Value
,
AnyValue
,
AnyValue
>
downlink
Map<K, V, KU, VU>
(
init
?:
MapDownlinkInit
<
K
,
V
,
KU
,
VU
>
)
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Parameters
Optional
init:
MapDownlinkInit
<
Value
,
Value
,
AnyValue
,
AnyValue
>
Returns
MapDownlink
<
Value
,
Value
,
AnyValue
,
AnyValue
>
Type parameters
K
V
KU =
never
VU =
never
Parameters
Optional
init:
MapDownlinkInit
<
K
,
V
,
KU
,
VU
>
Returns
MapDownlink
<
K
,
V
,
KU
,
VU
>
downlink
Value
downlink
Value
(
init
?:
ValueDownlinkInit
<
Value
,
AnyValue
>
)
:
ValueDownlink
<
Value
,
AnyValue
>
downlink
Value<V, VU>
(
init
?:
ValueDownlinkInit
<
V
,
VU
>
)
:
ValueDownlink
<
V
,
VU
>
Parameters
Optional
init:
ValueDownlinkInit
<
Value
,
AnyValue
>
Returns
ValueDownlink
<
Value
,
AnyValue
>
Type parameters
V
VU =
never
Parameters
Optional
init:
ValueDownlinkInit
<
V
,
VU
>
Returns
ValueDownlink
<
V
,
VU
>
host
Ref
host
Ref
(
hostUri
:
AnyUri
)
:
HostRef
Parameters
hostUri:
AnyUri
Returns
HostRef
is
Online
is
Online
(
)
:
boolean
is
Online
(
online
:
boolean
)
:
WarpClient
Returns
boolean
Parameters
online:
boolean
Returns
WarpClient
keep
Online
keep
Online
(
)
:
boolean
keep
Online
(
keepOnline
:
boolean
)
:
WarpClient
Returns
boolean
Parameters
keepOnline:
boolean
Returns
WarpClient
lane
Ref
lane
Ref
(
hostUri
:
AnyUri
, nodeUri
:
AnyUri
, laneUri
:
AnyUri
)
:
LaneRef
lane
Ref
(
nodeUri
:
AnyUri
, laneUri
:
AnyUri
)
:
LaneRef
Parameters
hostUri:
AnyUri
nodeUri:
AnyUri
laneUri:
AnyUri
Returns
LaneRef
Parameters
nodeUri:
AnyUri
laneUri:
AnyUri
Returns
LaneRef
node
Ref
node
Ref
(
hostUri
:
AnyUri
, nodeUri
:
AnyUri
)
:
NodeRef
node
Ref
(
nodeUri
:
AnyUri
)
:
NodeRef
Parameters
hostUri:
AnyUri
nodeUri:
AnyUri
Returns
NodeRef
Parameters
nodeUri:
AnyUri
Returns
NodeRef
observe
observe
(
observer
:
WarpObserver
)
:
WarpClient
Parameters
observer:
WarpObserver
Returns
WarpClient
Protected
on
Offline
on
Offline
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
Protected
on
Online
on
Online
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
unobserve
unobserve
(
observer
:
unknown
)
:
WarpClient
Parameters
observer:
unknown
Returns
WarpClient
Protected
watch
Online
watch
Online
(
keepOnline
:
boolean
)
:
void
Parameters
keepOnline:
boolean
Returns
void
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Warp
Client
constructor
authenticate
close
command
did
Authenticate
did
Connect
did
Deauthenticate
did
Disconnect
did
Fail
downlink
downlink
List
downlink
Map
downlink
Value
host
Ref
is
Online
keep
Online
lane
Ref
node
Ref
observe
on
Offline
on
Online
unobserve
watch
Online
Generated using
TypeDoc