@w5s/httpInterfacesClientOn this pageClient Index ConstructorsconstructorPropertiesfetchonRequestonResponsetimeoutConstructors constructorconstructor: Properties fetchfetch: { (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | Request | URL, init?: RequestInit): Promise<Response> }Fetch function. Default to globalThis.fetch.onRequestonRequest: (request: Request) => TaskLike<Request, HTTPError>Wrap a request before sentonResponseonResponse: (response: Response<BodyReader>) => TaskLike<Response<BodyReader>, HTTPError>Wrap a received responsetimeouttimeout: default | none | TimeDurationResponse timeout setting
Fetch function. Default to
globalThis.fetch
.