Aller au contenu principal

Client

Index

Properties

fetch

fetch: { (input, init): Promise<Response>; (input, init): Promise<Response> }

Fetch function. Default to globalThis.fetch.

onRequest

onRequest: (request) => TaskLike<Request, HTTPError>

Wrap a request before sent

onResponse

onResponse: (response) => TaskLike<Response<BodyReader>, HTTPError>

Wrap a received response

timeout

timeout: TypeOf<any>

Response timeout setting

Page Options