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
BaseRef
Class BaseRef
Hierarchy
BaseRef
HostRef
NodeRef
LaneRef
Implements
DownlinkOwner
WarpRef
Index
Constructors
constructor
Properties
context
downlinks
host
host
Uri
observers
Accessors
session
Methods
add
Downlink
authenticate
close
close
Up
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
Base
Ref
(
context
:
RefContext
)
:
BaseRef
Parameters
context:
RefContext
Returns
BaseRef
Properties
Readonly
context
context
:
RefContext
Readonly
downlinks
downlinks
:
Downlink
[]
Readonly
host
host
:
null
|
Host
Readonly
Abstract
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
did
Authenticate
did
Authenticate
(
didAuthenticate
:
WarpDidAuthenticate
)
:
BaseRef
Parameters
didAuthenticate:
WarpDidAuthenticate
Returns
BaseRef
did
Connect
did
Connect
(
didConnect
:
WarpDidConnect
)
:
BaseRef
Parameters
didConnect:
WarpDidConnect
Returns
BaseRef
did
Deauthenticate
did
Deauthenticate
(
didDeauthenticate
:
WarpDidDeauthenticate
)
:
BaseRef
Parameters
didDeauthenticate:
WarpDidDeauthenticate
Returns
BaseRef
did
Disconnect
did
Disconnect
(
didDisconnect
:
WarpDidDisconnect
)
:
BaseRef
Parameters
didDisconnect:
WarpDidDisconnect
Returns
BaseRef
did
Fail
did
Fail
(
didFail
:
WarpDidFail
)
:
BaseRef
Parameters
didFail:
WarpDidFail
Returns
BaseRef
Abstract
downlink
downlink
(
init
?:
EventDownlinkInit
)
:
EventDownlink
Parameters
Optional
init:
EventDownlinkInit
Returns
EventDownlink
Abstract
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
>
Abstract
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
>
Abstract
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
Abstract
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
Abstract
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
Abstract
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
)
:
BaseRef
Parameters
observer:
WarpObserver
Returns
BaseRef
open
open
(
)
:
void
Returns
void
remove
Downlink
remove
Downlink
(
downlink
:
Downlink
)
:
void
Parameters
downlink:
Downlink
Returns
void
unobserve
unobserve
(
observer
:
unknown
)
:
BaseRef
Parameters
observer:
unknown
Returns
BaseRef
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Base
Ref
constructor
context
downlinks
host
host
Uri
observers
session
add
Downlink
authenticate
close
close
Up
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