Skip to main content
Version: Next

abstractBaseHttpClient

Base HTTP client that provides fetch-like sendRequest with Crawlee-managed behaviors (redirect handling, proxy and cookie handling). Concrete clients implement only the low-level network call in fetch.

Hierarchy

Implements

Index

Constructors

Methods

Constructors

constructor

Methods

sendRequest

  • sendRequest(initialRequest, options): Promise<Response>
  • Public fetch-like method that handles redirects and uses provided proxy and cookie jar.


    Parameters

    Returns Promise<Response>

Page Options