itd-api / RequestContext
Interface: RequestContext
Defined in: core/options.ts:116
Данные о запросе, доступные хукам.
Extended by
Properties
attempt
ts
attempt: number;Defined in: core/options.ts:128
Номер попытки, начиная с 1.
headers
ts
headers: Headers;Defined in: core/options.ts:126
method
ts
method: string;Defined in: core/options.ts:121
operationId
ts
operationId: OperationId;Defined in: core/options.ts:118
Стабильная семантическая операция; raw у низкоуровневого вызова без явного ID.
path
ts
path: string;Defined in: core/options.ts:123
Путь без базового URL, например /api/posts.
signal
ts
signal: AbortSignal | undefined;Defined in: core/options.ts:120
Общий сигнал пользовательской отмены, timeout и освобождения клиента.
url
ts
url: string;Defined in: core/options.ts:125
Итоговый URL со строкой запроса.