Preparing search index...
The search index is not available
Dappetizer
Dappetizer
@tezos-dappetizer/utils
JsonFetcher
Interface JsonFetcher
The helper for HTTP requests to fetch a JSON with these features:
If the HTTP response is not 200 OK, then the execution fails with an
Error
including all response details.
The response JSON can be transformed and/or strongly validated.
The execution is logged and its duration measured.
The request is aborted on app shutdown.
Hierarchy
JsonFetcher
Index
Methods
execute
Methods
execute
execute
<
TResponse
>
(
command
:
JsonFetchCommand
<
TResponse
>
)
:
Promise
<
TResponse
>
Type Parameters
TResponse
Parameters
command:
JsonFetchCommand
<
TResponse
>
Returns
Promise
<
TResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Dappetizer
@tezos-
dappetizer/database
@tezos-
dappetizer/decorators
@tezos-
dappetizer/indexer
@tezos-
dappetizer/utils
Json
Fetcher
execute
Generated using
TypeDoc
The helper for HTTP requests to fetch a JSON with these features:
Error
including all response details.