@carlosnc/tmdb-sdk - v0.13.2
Preparing search index...
HttpClient
Interface HttpClient
interface
HttpClient
{
delete
<
T
=
any
>
(
url
:
string
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
;
get
<
T
=
any
>
(
url
:
string
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
;
post
<
T
=
any
>
(
url
:
string
,
data
?:
any
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
;
put
<
T
=
any
>
(
url
:
string
,
data
?:
any
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
;
}
Implemented by
FetchAdapter
Index
Methods
delete
get
post
put
Methods
delete
delete
<
T
=
any
>
(
url
:
string
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
Type Parameters
T
=
any
Parameters
url
:
string
Optional
config
:
HttpRequestConfig
Returns
Promise
<
HttpResponse
<
T
>
>
get
get
<
T
=
any
>
(
url
:
string
,
config
?:
HttpRequestConfig
)
:
Promise
<
HttpResponse
<
T
>
>
Type Parameters
T
=
any
Parameters
url
:
string
Optional
config
:
HttpRequestConfig
Returns
Promise
<
HttpResponse
<
T
>
>
post
post
<
T
=
any
>
(
url
:
string
,
data
?:
any
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
Type Parameters
T
=
any
Parameters
url
:
string
Optional
data
:
any
Optional
config
:
HttpRequestConfig
Returns
Promise
<
HttpResponse
<
T
>
>
put
put
<
T
=
any
>
(
url
:
string
,
data
?:
any
,
config
?:
HttpRequestConfig
,
)
:
Promise
<
HttpResponse
<
T
>
>
Type Parameters
T
=
any
Parameters
url
:
string
Optional
data
:
any
Optional
config
:
HttpRequestConfig
Returns
Promise
<
HttpResponse
<
T
>
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
delete
get
post
put
@carlosnc/tmdb-sdk - v0.13.2
Loading...