Quickstart Node.js
Preparing search index...
index
BaseAPI
Class BaseAPI
This is the base class for all generated API classes.
Hierarchy (
View Summary
)
BaseAPI
AuthApi
Index
Constructors
constructor
Methods
with
Middleware
with
Pre
Middleware
with
Post
Middleware
Constructors
constructor
new
BaseAPI
(
configuration
?:
Configuration
)
:
BaseAPI
Parameters
configuration
:
Configuration
= DefaultConfig
Returns
BaseAPI
Methods
with
Middleware
withMiddleware
<
T
extends
BaseAPI
>
(
this
:
T
,
...
middlewares
:
Middleware
[]
)
:
T
Type Parameters
T
extends
BaseAPI
Parameters
this
:
T
...
middlewares
:
Middleware
[]
Returns
T
with
Pre
Middleware
withPreMiddleware
<
T
extends
BaseAPI
>
(
this
:
T
,
...
preMiddlewares
:
(
undefined
|
(
(
context
:
RequestContext
)
=>
Promise
<
void
|
FetchParams
>
)
)
[]
,
)
:
T
Type Parameters
T
extends
BaseAPI
Parameters
this
:
T
...
preMiddlewares
: (
undefined
|
(
(
context
:
RequestContext
)
=>
Promise
<
void
|
FetchParams
>
))
[]
Returns
T
with
Post
Middleware
withPostMiddleware
<
T
extends
BaseAPI
>
(
this
:
T
,
...
postMiddlewares
:
(
undefined
|
(
(
context
:
ResponseContext
)
=>
Promise
<
void
|
Response
>
)
)
[]
,
)
:
T
Type Parameters
T
extends
BaseAPI
Parameters
this
:
T
...
postMiddlewares
: (
undefined
|
(
(
context
:
ResponseContext
)
=>
Promise
<
void
|
Response
>
))
[]
Returns
T
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
with
Middleware
with
Pre
Middleware
with
Post
Middleware
Quickstart Node.js
Loading...
This is the base class for all generated API classes.