Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace systemProxyMgr

Manage the system proxy config. sudo password may be required.

Index

Functions

disableGlobalProxy

  • Disable global system proxy. sudo password may be required.

    Parameters

    Returns void

enableGlobalProxy

  • enableGlobalProxy(host: string, port: string | number, networkType?: NetworkType): void
  • Enable global system proxy with specified params. sudo password may be required.

    Parameters

    • host: string
    • port: string | number
    • Optional networkType: NetworkType

    Returns void

Generated using TypeDoc