DirectProxyConfig
Connects without a proxy.
This is not the same as leaving the proxy unconfigured: it overrides whatever the operating system is set to, rather than deferring to it.
Example
import { session } from '@mobrowser/api';
session.setProxy({ mode: 'direct' })
Properties
mode
readonly mode: 'direct';
Names the configuration as the direct one. Nothing else is set with it: connecting without a proxy has no settings of its own.