@netresearch/node-magento-eqp
Preparing search index...
Adapter
Interface Adapter
interface
Adapter
{
delete
<
T
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
any
>
)
:
Promise
<
T
>
;
get
<
T
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
any
>
)
:
Promise
<
T
>
;
post
<
T
>
(
url
:
string
,
body
:
unknown
,
config
?:
AxiosRequestConfig
<
any
>
,
)
:
Promise
<
T
>
;
put
<
T
>
(
url
:
string
,
body
:
unknown
,
config
?:
AxiosRequestConfig
<
any
>
,
)
:
Promise
<
T
>
;
setHeader
(
header
:
string
,
value
:
string
)
:
void
;
}
Implemented by
AxiosAdapter
Index
Methods
delete
get
post
put
set
Header
Methods
delete
delete
<
T
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
any
>
)
:
Promise
<
T
>
Type Parameters
T
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
any
>
Returns
Promise
<
T
>
get
get
<
T
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
any
>
)
:
Promise
<
T
>
Type Parameters
T
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
any
>
Returns
Promise
<
T
>
post
post
<
T
>
(
url
:
string
,
body
:
unknown
,
config
?:
AxiosRequestConfig
<
any
>
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
url
:
string
body
:
unknown
Optional
config
:
AxiosRequestConfig
<
any
>
Returns
Promise
<
T
>
put
put
<
T
>
(
url
:
string
,
body
:
unknown
,
config
?:
AxiosRequestConfig
<
any
>
)
:
Promise
<
T
>
Type Parameters
T
Parameters
url
:
string
body
:
unknown
Optional
config
:
AxiosRequestConfig
<
any
>
Returns
Promise
<
T
>
set
Header
setHeader
(
header
:
string
,
value
:
string
)
:
void
Parameters
header
:
string
value
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
delete
get
post
put
set
Header
@netresearch/node-magento-eqp
Loading...