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
HostRef
Class HostRef
Hierarchy
BaseRef
HostRef
Index
Constructors
constructor
Properties
context
downlinks
host
host
Uri
observers
Accessors
session
Methods
add
Downlink
authenticate
close
close
Up
command
did
Authenticate
did
Connect
did
Deauthenticate
did
Disconnect
did
Fail
downlink
downlink
List
downlink
Map
downlink
Value
host
Did
Authenticate
host
Did
Connect
host
Did
Deauthenticate
host
Did
Disconnect
host
Did
Fail
host
Ref
is
Authenticated
is
Connected
lane
Ref
node
Ref
observe
open
remove
Downlink
unobserve
Constructors
constructor
new
Host
Ref
(
context
:
RefContext
, hostUri
:
Uri
)
:
HostRef
Parameters
context:
RefContext
hostUri:
Uri
Returns
HostRef
Properties
Readonly
context
context
:
RefContext
Readonly
downlinks
downlinks
:
Downlink
[]
Readonly
host
host
:
null
|
Host
Readonly
host
Uri
host
Uri
:
Uri
Readonly
observers
observers
:
readonly
WarpObserver
[]
Accessors
session
get
session
(
)
:
Value
Returns
Value
Methods
add
Downlink
add
Downlink
(
downlink
:
Downlink
)
:
void
Parameters
downlink:
Downlink
Returns
void
authenticate
authenticate
(
credentials
:
AnyValue
)
:
void
Parameters
credentials:
AnyValue
Returns
void
close
close
(
)
:
void
Returns
void
close
Up
close
Up
(
)
:
void
Returns
void
command
command
(
nodeUri
:
AnyUri
, laneUri
:
AnyUri
, body
:
AnyValue
)
:
void
Parameters
nodeUri:
AnyUri
laneUri:
AnyUri
body:
AnyValue
Returns
void
did
Authenticate
did
Authenticate
(
didAuthenticate
:
WarpDidAuthenticate
)
:
HostRef
Parameters
didAuthenticate:
WarpDidAuthenticate
Returns
HostRef
did
Connect
did
Connect
(
didConnect
:
WarpDidConnect
)
:
HostRef
Parameters
didConnect:
WarpDidConnect
Returns
HostRef
did
Deauthenticate
did
Deauthenticate
(
didDeauthenticate
:
WarpDidDeauthenticate
)
:
HostRef
Parameters
didDeauthenticate:
WarpDidDeauthenticate
Returns
HostRef
did
Disconnect
did
Disconnect
(
didDisconnect
:
WarpDidDisconnect
)
:
HostRef
Parameters
didDisconnect:
WarpDidDisconnect
Returns
HostRef
did
Fail
did
Fail
(
didFail
:
WarpDidFail
)
:
HostRef
Parameters
didFail:
WarpDidFail
Returns
HostRef
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
Did
Authenticate
host
Did
Authenticate
(
body
:
Value
, host
:
Host
)
:
void
Parameters
body:
Value
host:
Host
Returns
void
host
Did
Connect
host
Did
Connect
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
host
Did
Deauthenticate
host
Did
Deauthenticate
(
body
:
Value
, host
:
Host
)
:
void
Parameters
body:
Value
host:
Host
Returns
void
host
Did
Disconnect
host
Did
Disconnect
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
host
Did
Fail
host
Did
Fail
(
error
:
unknown
, host
:
Host
)
:
void
Parameters
error:
unknown
host:
Host
Returns
void
host
Ref
host
Ref
(
hostUri
:
AnyUri
)
:
HostRef
Parameters
hostUri:
AnyUri
Returns
HostRef
is
Authenticated
is
Authenticated
(
)
:
boolean
Returns
boolean
is
Connected
is
Connected
(
)
:
boolean
Returns
boolean
lane
Ref
lane
Ref
(
nodeUri
:
AnyUri
, laneUri
:
AnyUri
)
:
LaneRef
Parameters
nodeUri:
AnyUri
laneUri:
AnyUri
Returns
LaneRef
node
Ref
node
Ref
(
nodeUri
:
AnyUri
)
:
NodeRef
Parameters
nodeUri:
AnyUri
Returns
NodeRef
observe
observe
(
observer
:
WarpObserver
)
:
HostRef
Parameters
observer:
WarpObserver
Returns
HostRef
open
open
(
)
:
void
Returns
void
remove
Downlink
remove
Downlink
(
downlink
:
Downlink
)
:
void
Parameters
downlink:
Downlink
Returns
void
unobserve
unobserve
(
observer
:
unknown
)
:
HostRef
Parameters
observer:
unknown
Returns
HostRef
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Host
Ref
constructor
context
downlinks
host
host
Uri
observers
session
add
Downlink
authenticate
close
close
Up
command
did
Authenticate
did
Connect
did
Deauthenticate
did
Disconnect
did
Fail
downlink
downlink
List
downlink
Map
downlink
Value
host
Did
Authenticate
host
Did
Connect
host
Did
Deauthenticate
host
Did
Disconnect
host
Did
Fail
host
Ref
is
Authenticated
is
Connected
lane
Ref
node
Ref
observe
open
remove
Downlink
unobserve
Generated using
TypeDoc