FetchHttpClient
Hierarchy
- BaseHttpClient
- FetchHttpClient
Index
Constructors
Methods
Constructors
constructor
Parameters
optionaloptions: { logger?: CrawleeLogger }
optionallogger: CrawleeLogger
Returns FetchHttpClient
Methods
inheritedsendRequest
Public fetch-like method that handles redirects and uses provided proxy and cookie jar.
Parameters
initialRequest: Request
optionaloptions: SendRequestOptions
Returns Promise<Response>
A HTTP client implementation using the native
fetchAPI.This implementation does not support proxying.