Skip to main content
Version: 5.x.x

adapter


import { adapter } from "@hyper-fetch/core"

Description

Defined in adapter/adapter.ts:6

Preview

adapter(request, requestId, DO_NOT_USE)

Parameters

NameDetails

request

Required

RequestInstance

requestId

Required

string

DO_NOT_USE

Optional

{ endpointType?: string; extra?: AdapterExtraType; method?: HttpMethodsType; options?: Partial<XMLHttpRequest>; queryParams?: string | QueryParamsType; status?: number }

Returns

Promise<ResponseReturnType<any, any, any>>