HLS Downloaderv0.0.0-semantic-release

HttpClientOptions

interface HttpClientOptions { headers?: Record<string, string>; noProxy?: string[]; proxy?: string; retry?: { delay: number; limit: number }; timeout?: number; }

Source: HttpClient.ts:9

Configuration for the internal HTTP Client.


Properties

headers: Record<string, string>

Custom HTTP headers to be sent with every request. Useful for Auth tokens, Cookies, or custom User-Agents.

noProxy: string[]

List of hostnames that should bypass the proxy

proxy: string

Corporate proxy URL (e.g., http://proxy.corp.com:8080)

retry: { delay: number; limit: number }

Retry strategy for transient network failures

Properties

  • delay (number) — Base delay in milliseconds for exponential backoff
  • limit (number) — Maximum number of retry attempts

timeout: number

Request timeout in milliseconds (Default: 10000)