Skip to main content
Version: Next

ApifyClientCustomHttpClientOptions

Configuration options for ApifyClient.withCustomHttpClient. Retries, timeouts and headers are configured on the HTTP client itself.

Index

Properties

optionalbaseUrl

baseUrl?: string = https://api.apify.com

URL of the Apify API, with or without the /v2 version path, which is appended when missing.

httpClient

httpClient: HttpClient

The HTTP client to send the requests through.

optionalpublicBaseUrl

publicBaseUrl?: string = https://api.apify.com

Publicly accessible URL of the Apify API, used in the URLs the client generates. Like baseUrl, with or without the /v2 version path.

optionaltoken

token?: string

Set as the HTTP client's Authorization header, unless it already has one.

Page Options