Preparing search index...
The search index is not available
tally-js
tally-js
FetchHttpClient
Class FetchHttpClient
Implementation of the HTTP client using fetch
Implements
HttpClient
Index
Constructors
constructor
Methods
delete
get
patch
post
Constructors
constructor
new
FetchHttpClient
(
baseUrl
:
string
,
headers
:
Record
<
string
,
string
>
,
)
:
FetchHttpClient
Parameters
baseUrl
:
string
headers
:
Record
<
string
,
string
>
Returns
FetchHttpClient
Methods
delete
delete
(
url
:
string
)
:
Promise
<
HttpResponse
<
any
>
>
Parameters
url
:
string
Returns
Promise
<
HttpResponse
<
any
>
>
get
get
(
url
:
string
)
:
Promise
<
HttpResponse
<
any
>
>
Parameters
url
:
string
Returns
Promise
<
HttpResponse
<
any
>
>
patch
patch
<
T
>
(
url
:
string
,
data
:
T
)
:
Promise
<
HttpResponse
<
any
>
>
Type Parameters
T
Parameters
url
:
string
data
:
T
Returns
Promise
<
HttpResponse
<
any
>
>
post
post
<
T
>
(
url
:
string
,
data
:
T
)
:
Promise
<
HttpResponse
<
any
>
>
Type Parameters
T
Parameters
url
:
string
data
:
T
Returns
Promise
<
HttpResponse
<
any
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
delete
get
patch
post
tally-js
Loading...
Implementation of the HTTP client using fetch