Allows to access and configure core networking capabilities.
| getAliases | Gets the aliases used to identify the local servers/proxies. |
| getConnectionTimeout | Gets the connection timeout, in seconds. |
| getDefaultUserAgent | Gets the default user-agent. |
| getDnsTtlSuccessfulQueries | Gets the TTL (in seconds) of successful DNS queries. |
| getHttpProxy | Gets the HTTP proxy. |
| getHttpProxyExclusions | Gets the HTTP proxy exclusions. |
| getLocalServers | Gets the local servers/proxies. |
| getPassThroughs | Gets the authorities that will pass-through the local proxies. |
| getRateLimitRules | List of rate limit rules. |
| getRootCaCertValidity | Gets the Root CA certificate validity, in days. Used when generating a new Root CA certificate. |
| getServerCertValidity | Gets the server certificate validity, in days. Used when generating server certificates. |
| getSocksProxy | Gets the SOCKS proxy. |
| isHttpProxyAuthEnabled | Tells whether or not the HTTP proxy authentication is enabled. |
| isHttpProxyEnabled | Tells whether or not the HTTP proxy is enabled. |
| isSocksProxyEnabled | Tells whether or not the SOCKS proxy is enabled. |
| isUseGlobalHttpState | Tells whether or not to use global HTTP state. |
| addAlias (name* enabled ) | Adds an alias for the local servers/proxies. |
| addHttpProxyExclusion (host* enabled ) | Adds a host to be excluded from the HTTP proxy. |
| addLocalServer (address* port* api proxy behindNat decodeResponse removeAcceptEncoding ) | Adds a local server/proxy. |
| addPassThrough (authority* enabled ) | Adds an authority to pass-through the local proxies. |
| addPkcs12ClientCertificate (filePath* password* index ) | Adds a client certificate contained in a PKCS#12 file, the certificate is automatically set as active and used. |
| addRateLimitRule (description* enabled* matchRegex* matchString* requestsPerSecond* groupBy* ) | Adds a rate limit rule |
| generateRootCaCert | Generates a new Root CA certificate, used to issue server certificates. |
| importRootCaCert (filePath* ) | Imports a Root CA certificate to be used to issue server certificates. |
| removeAlias (name* ) | Removes an alias. |
| removeHttpProxyExclusion (host* ) | Removes an HTTP proxy exclusion. |
| removeLocalServer (address* port* ) | Removes a local server/proxy. |
| removePassThrough (authority* ) | Removes a pass-through. |
| removeRateLimitRule (description* ) | Remove a rate limit rule |
| setAliasEnabled (name* enabled* ) | Sets whether or not an alias is enabled. |
| setConnectionTimeout (timeout* ) | Sets the timeout, for reads and connects. |
| setDefaultUserAgent (userAgent* ) | Sets the default user-agent. |
| setDnsTtlSuccessfulQueries (ttl* ) | Sets the TTL of successful DNS queries. |
| setHttpProxy (host* port* realm username password ) | Sets the HTTP proxy configuration. |
| setHttpProxyAuthEnabled (enabled* ) | Sets whether or not the HTTP proxy authentication is enabled. |
| setHttpProxyEnabled (enabled* ) | Sets whether or not the HTTP proxy is enabled. |
| setHttpProxyExclusionEnabled (host* enabled* ) | Sets whether or not an HTTP proxy exclusion is enabled. |
| setPassThroughEnabled (authority* enabled* ) | Sets whether or not a pass-through is enabled. |
| setRateLimitRuleEnabled (description* enabled* ) | Set enabled state for a rate limit rule. |
| setRootCaCertValidity (validity* ) | Sets the Root CA certificate validity. Used when generating a new Root CA certificate. |
| setServerCertValidity (validity* ) | Sets the server certificate validity. Used when generating server certificates. |
| setSocksProxy (host* port* version useDns username password ) | Sets the SOCKS proxy configuration. |
| setSocksProxyEnabled (enabled* ) | Sets whether or not the SOCKS proxy is enabled. |
| setUseClientCertificate (use* ) | Sets whether or not to use the active client certificate. |
| setUseGlobalHttpState (use* ) | Sets whether or not to use the global HTTP state. |
| proxy.pac | Provides a PAC file, proxying through the main proxy. |
| rootCaCert | Gets the Root CA certificate used to issue server certificates. Suitable to import into client applications (e.g. browsers). |
| setProxy (proxy* ) | Sets the HTTP proxy configuration. |