UNPKG

@unito/integration-debugger

Version:

The Unito Integration Debugger

15 lines (14 loc) 566 B
import * as CrawlerDriver from '../crawlerDriver'; /** Check: An integration answers a "408 Request Timeout" on a outdated request. * * Each request receives a X-Unito-Operation-Deadline header which represents the deadline before * which the operation must complete. The value is a Unix timestamp (epoch). * * For example: * * X-Unito-Operation-Deadline: 1679342914 * * An integration can use this information to cancel an ongoing operation and emit a 408 Request Timeout response. */ declare const check: CrawlerDriver.StepCheck; export default check;