Quickstart Node.js
Preparing search index...
index
Configuration
Class Configuration
Index
Constructors
constructor
Accessors
config
base
Path
fetch
Api
middleware
query
Params
Stringify
username
password
api
Key
access
Token
headers
credentials
Constructors
constructor
new
Configuration
(
configuration
?:
ConfigurationParameters
)
:
Configuration
Parameters
configuration
:
ConfigurationParameters
= {}
Returns
Configuration
Accessors
config
set
config
(
configuration
:
Configuration
)
:
void
Parameters
configuration
:
Configuration
Returns
void
base
Path
get
basePath
()
:
string
Returns
string
fetch
Api
get
fetchApi
()
:
|
undefined
|
(
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
)
Returns
|
undefined
|
(
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
)
undefined
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
middleware
get
middleware
()
:
Middleware
[]
Returns
Middleware
[]
query
Params
Stringify
get
queryParamsStringify
()
:
(
params
:
HTTPQuery
)
=>
string
Returns
(
params
:
HTTPQuery
)
=>
string
username
get
username
()
:
undefined
|
string
Returns
undefined
|
string
password
get
password
()
:
undefined
|
string
Returns
undefined
|
string
api
Key
get
apiKey
()
:
undefined
|
(
(
name
:
string
)
=>
string
|
Promise
<
string
>
)
Returns
undefined
|
(
(
name
:
string
)
=>
string
|
Promise
<
string
>
)
access
Token
get
accessToken
()
:
|
undefined
|
(
(
name
?:
string
,
scopes
?:
string
[]
)
=>
string
|
Promise
<
string
>
)
Returns
undefined
|
(
(
name
?:
string
,
scopes
?:
string
[]
)
=>
string
|
Promise
<
string
>
)
headers
get
headers
()
:
undefined
|
HTTPHeaders
Returns
undefined
|
HTTPHeaders
credentials
get
credentials
()
:
undefined
|
RequestCredentials
Returns
undefined
|
RequestCredentials
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
config
base
Path
fetch
Api
middleware
query
Params
Stringify
username
password
api
Key
access
Token
headers
credentials
Quickstart Node.js
Loading...
MDN Reference