Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@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
Default value
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
)
:
this
Parameters
didAuthenticate:
WarpDidAuthenticate
Returns
this
did
Connect
did
Connect
(
didConnect
:
WarpDidConnect
)
:
this
Parameters
didConnect:
WarpDidConnect
Returns
this
did
Deauthenticate
did
Deauthenticate
(
didDeauthenticate
:
WarpDidDeauthenticate
)
:
this
Parameters
didDeauthenticate:
WarpDidDeauthenticate
Returns
this
did
Disconnect
did
Disconnect
(
didDisconnect
:
WarpDidDisconnect
)
:
this
Parameters
didDisconnect:
WarpDidDisconnect
Returns
this
did
Fail
did
Fail
(
didFail
:
WarpDidFail
)
:
this
Parameters
didFail:
WarpDidFail
Returns
this
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
VU
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
:
KU
V
:
VU
KU
VU
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
VU
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
)
:
this
Returns
boolean
Parameters
online:
boolean
Returns
this
keep
Online
keep
Online
(
)
:
boolean
keep
Online
(
keepOnline
:
boolean
)
:
this
Returns
boolean
Parameters
keepOnline:
boolean
Returns
this
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
)
:
this
Parameters
observer:
WarpObserver
Returns
this
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
)
:
this
Parameters
observer:
unknown
Returns
this
Protected
watch
Online
watch
Online
(
keepOnline
:
boolean
)
:
void
Parameters
keepOnline:
boolean
Returns
void
Globals
@swim/core
@swim/mesh
@swim/client
@swim/warp
@swim/ui
@swim/ux
@swim/web
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