Skip to main content
Version: 3.0

ProxyConfigurationOptions

Index

Properties

optionalnewUrlFunction

Custom function that allows you to generate the new proxy URL dynamically. It gets the sessionId as a parameter and should always return stringified proxy URL. Can be asynchronous. This function is used to generate the URL when ProxyConfiguration.newUrl or ProxyConfiguration.newProxyInfo is called.

optionalproxyUrls

proxyUrls?: string[]

An array of custom proxy URLs to be rotated. Custom proxies are not compatible with Apify Proxy and an attempt to use both configuration options will cause an error to be thrown on initialize.

Page Options