itd-api / ResponseContext
Interface: ResponseContext
Defined in: types/options.ts:117
Данные об успешном ответе.
Extends
Properties
attempt
ts
attempt: number;Defined in: types/options.ts:113
Номер попытки, начиная с 1.
Inherited from
duration
ts
duration: number;Defined in: types/options.ts:120
Длительность запроса в мс.
headers
ts
headers: Headers;Defined in: types/options.ts:111
Inherited from
method
ts
method: string;Defined in: types/options.ts:106
Inherited from
path
ts
path: string;Defined in: types/options.ts:108
Путь без базового URL, например /api/posts.
Inherited from
response
ts
response: Response;Defined in: types/options.ts:121
status
ts
status: number;Defined in: types/options.ts:118
url
ts
url: string;Defined in: types/options.ts:110
Итоговый URL со строкой запроса.