Contents

AutoDetectProxyConfig

Discovers the proxy for the current network automatically, by fetching a PAC script from the well-known WPAD address.

Example 

import { session } from '@mobrowser/api';

session.setProxy({ mode: 'autoDetect' })

Properties 

mode 

readonly mode: 'autoDetect';

Names the configuration as the auto-detecting one. Nothing else is set with it: the PAC script is looked for at the well-known WPAD address rather than at one given here.