libresound_js_libs
Preparing search index...
Runtime
Runtime
Class Runtime
A class that not only implments (imitates) parts of browser/nodejs API
Index
Constructors
constructor
Properties
_
mapper
fs
logger
Methods
_
make
Resp
download
fetch
on
Data
Received
set
Proxy
Environment
Constructors
constructor
new
Runtime
()
:
Runtime
Returns
Runtime
Properties
_
mapper
_mapper
:
Mapper
= ...
fs
fs
:
Fs
= ...
logger
logger
:
Logger
= ...
Methods
_
make
Resp
_makeResp
(
resp
:
any
,
)
:
{
bytes
:
()
=>
Promise
<
any
>
;
cookies
:
any
;
headers
:
{
get
:
(
n
:
string
)
=>
any
;
has
:
(
n
:
string
)
=>
boolean
}
;
json
:
()
=>
Promise
<
any
>
;
location
:
any
;
ok
:
any
;
status
:
any
;
text
:
()
=>
Promise
<
string
>
;
}
Parameters
resp
:
any
Returns
{
bytes
:
()
=>
Promise
<
any
>
;
cookies
:
any
;
headers
:
{
get
:
(
n
:
string
)
=>
any
;
has
:
(
n
:
string
)
=>
boolean
}
;
json
:
()
=>
Promise
<
any
>
;
location
:
any
;
ok
:
any
;
status
:
any
;
text
:
()
=>
Promise
<
string
>
;
}
download
download
(
url
:
string
,
options
:
any
,
)
:
Promise
<
{
bytes
:
()
=>
Promise
<
any
>
;
cookies
:
any
;
headers
:
{
get
:
(
n
:
string
)
=>
any
;
has
:
(
n
:
string
)
=>
boolean
}
;
json
:
()
=>
Promise
<
any
>
;
location
:
any
;
ok
:
any
;
status
:
any
;
text
:
()
=>
Promise
<
string
>
;
}
,
>
Parameters
url
:
string
options
:
any
Returns
Promise
<
{
bytes
:
()
=>
Promise
<
any
>
;
cookies
:
any
;
headers
:
{
get
:
(
n
:
string
)
=>
any
;
has
:
(
n
:
string
)
=>
boolean
}
;
json
:
()
=>
Promise
<
any
>
;
location
:
any
;
ok
:
any
;
status
:
any
;
text
:
()
=>
Promise
<
string
>
;
}
,
>
fetch
fetch
(
url
:
string
,
options
?:
{}
,
)
:
Promise
<
{
bytes
:
()
=>
Promise
<
any
>
;
cookies
:
any
;
headers
:
{
get
:
(
n
:
string
)
=>
any
;
has
:
(
n
:
string
)
=>
boolean
}
;
json
:
()
=>
Promise
<
any
>
;
location
:
any
;
ok
:
any
;
status
:
any
;
text
:
()
=>
Promise
<
string
>
;
}
,
>
Parameters
url
:
string
options
:
{}
= {}
Returns
Promise
<
{
bytes
:
()
=>
Promise
<
any
>
;
cookies
:
any
;
headers
:
{
get
:
(
n
:
string
)
=>
any
;
has
:
(
n
:
string
)
=>
boolean
}
;
json
:
()
=>
Promise
<
any
>
;
location
:
any
;
ok
:
any
;
status
:
any
;
text
:
()
=>
Promise
<
string
>
;
}
,
>
on
Data
Received
onDataReceived
(
recieved
:
number
,
contentLength
:
number
)
:
void
Parameters
recieved
:
number
contentLength
:
number
Returns
void
set
Proxy
Environment
setProxyEnvironment
(
env
:
any
)
:
void
Parameters
env
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
mapper
fs
logger
Methods
_
make
Resp
download
fetch
on
Data
Received
set
Proxy
Environment
libresound_js_libs
Loading...
A class that not only implments (imitates) parts of browser/nodejs API