Skip to main content
Version: Next

CustomFetchOptions

Per-request options handed to a concrete client's fetch implementation.

Index

Properties

optionalcookieJar

cookieJar?: CookieJar

Effective cookie jar for this request. sendRequest populates this from the explicit SendRequestOptions.cookieJar override when set, falling back to session.cookieJar (or a fresh jar when neither is provided).

optionalfingerprint

fingerprint?: SessionFingerprint

Hints about which browser-like setup this request should be impersonating — browser, platform, device, and an opaque details slot for richer payloads (e.g. a full browser fingerprint from fingerprint-generator). These are suggestions, not requirements: each client applies what it can (e.g. impit maps browser to its impersonation profile) and ignores the rest on a best-effort basis. Sourced from SendRequestOptions.session.fingerprint.

optionalignoreTlsErrors

ignoreTlsErrors?: boolean

When true, TLS certificate errors should be ignored for this request. Set when SendRequestOptions.ignoreTlsErrors is passed (e.g. from the ignoreTlsErrors crawler option) or when the session's proxy is a MITM proxy (session.proxyInfo.ignoreTlsErrors). Best-effort: clients that cannot disable TLS verification ignore it.

optionalproxyUrl

proxyUrl?: string

Effective proxy URL for this request. sendRequest populates this from the explicit SendRequestOptions.proxyUrl override when set, falling back to session.proxyInfo.url.