Skip to main content

Interface: HttpAdapter<Data>

Adapter interacting with the data source.

Extends

Type parameters

Data = any

Adapter's original response its implementation (e.g. a Response object for HTTP adapter using fetch).

Methods

execute()

execute(context): Awaitable <AdapterResponseI<Response, Data>>

Execute a given context to retrieve a raw data response. Context data will already be serialized using serializer if available.

Parameters

context

Returns

Awaitable <AdapterResponseI<Response, Data>>

Inherited from

AdapterI . execute

Source

packages/core/src/types.ts:97