Preparing search index...
The search index is not available
liaclient
liaclient
node/Rest
Rest
Class Rest
Hierarchy
Rest
Index
Constructors
constructor
Properties
#node
headers
hostname
options
secure
session
Id
version
Accessors
url
version
Path
Methods
decode
Track
delete
get
load
Tracks
patch
post
put
set
Session
Id
Constructors
constructor
new
Rest
(
node
,
options
)
:
Rest
Parameters
node
:
Node
options
:
RestOptions
Returns
Rest
Properties
Private
#node
#node
:
Node
Private
Readonly
headers
headers
:
Record
<
string
,
string
>
Private
Readonly
hostname
hostname
:
string
Readonly
options
options
:
RestOptions
Private
Readonly
secure
secure
:
boolean
Private
session
Id
session
Id
:
null
|
string
= null
Private
Readonly
version
version
:
false
|
"v3"
|
"v4"
= false
Accessors
url
get
url
(
)
:
string
Returns
string
version
Path
get
versionPath
(
)
:
string
Returns
string
Methods
decode
Track
decode
Track
(
track
)
:
Promise
<
TrackInfo
>
Parameters
track
:
string
Returns
Promise
<
TrackInfo
>
delete
delete
<
T
>
(
path
)
:
Promise
<
T
>
Type Parameters
T
Parameters
path
:
string
Returns
Promise
<
T
>
get
get
<
T
>
(
path
)
:
Promise
<
T
>
Type Parameters
T
Parameters
path
:
string
Returns
Promise
<
T
>
load
Tracks
load
Tracks
(
identifier
)
:
Promise
<
LoadTracksResponse
>
Parameters
identifier
:
string
Returns
Promise
<
LoadTracksResponse
>
patch
patch
<
T
>
(
path
,
body
)
:
Promise
<
T
>
Type Parameters
T
Parameters
path
:
string
body
:
Dictionary
Returns
Promise
<
T
>
post
post
<
T
>
(
path
,
body
)
:
Promise
<
T
>
Type Parameters
T
Parameters
path
:
string
body
:
Dictionary
Returns
Promise
<
T
>
put
put
<
T
>
(
path
,
body
)
:
Promise
<
T
>
Type Parameters
T
Parameters
path
:
string
body
:
Dictionary
Returns
Promise
<
T
>
set
Session
Id
set
Session
Id
(
sessionId
)
:
void
Parameters
sessionId
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#node
headers
hostname
options
secure
session
Id
version
url
version
Path
decode
Track
delete
get
load
Tracks
patch
post
put
set
Session
Id
liaclient
Lia
Player
Liaclient
node/
Connection
node/
Node
node/
Rest
Rest
Rest
Options
types/common
types/opcode
types/state
types/tracks
types/utils
Generated using
TypeDoc