Skip to main content
Version: Next

SendRequestOptions

Hierarchy

Index

Properties

optionalcookieJar

cookieJar?: CookieJar

optionalignoreTlsErrors

ignoreTlsErrors?: boolean

When true, TLS certificate errors are ignored for this request. Also enabled by session.proxyInfo.ignoreTlsErrors (MITM proxies). Best-effort: clients that cannot disable TLS verification (e.g. the native fetch fallback) ignore it.

optionalproxyUrl

proxyUrl?: string

Overrides the proxy URL set in the session for this request.

Note that setting this manually can interfere with session proxy rotation.

optionalsession

session?: ISession

optionalsignal

signal?: AbortSignal

An AbortSignal to cancel the HTTP request.

optionaltimeoutMillis

timeoutMillis?: number

Timeout for the HTTP request in milliseconds.