Skip to main content

Interface: ProxyFetchHandlerItem

Defined in: src/types.ts:46

Item passed to user's handler method

Properties

duration?

optional duration: number

Defined in: src/types.ts:56

Total duration in milliseconds from initial request to completion


error?

optional error: Error

Defined in: src/types.ts:52

Error from fetch or processing (if failed)


reqId

reqId: string

Defined in: src/types.ts:48

Unique request ID


response?

optional response: Response

Defined in: src/types.ts:50

Response from external API (if successful)


retryCount?

optional retryCount: number

Defined in: src/types.ts:54

Number of retry attempts made (0 for first attempt)