Skip to main content
Version: v10.0.0

httpExtra

Default extra of the HttpAdapter . It holds the response headers, so it starts empty and is used until a response arrives, and for requests that fail before the server answers.


Import
import { httpExtra } from "@hyper-fetch/core"

Preview​

type HttpAdapterExtraType = {
headers: Record<string, string>;
}

Structure​

httpExtra
NameTypeDescription
headers
Record<string, string>