WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsISystemProxySettings

IID:a9f3ae38-b769-4e0b-9317-578388e326c9
Inherits From:nsISupports

This interface allows the proxy code to use platform-specific proxy settings when the proxy preference is set to "automatic discovery". This service acts like a PAC parser to netwerk, but it will actually read the system settings and either return the proper proxy data from the autoconfig URL specified in the system proxy, or generate proxy data based on the system's manual proxy settings.


Properties

readonly AUTF8String PACURI

If non-empty, use this PAC file. If empty, call getProxyForURI instead.


Methods

AUTF8String getProxyForURI ( nsIURI URI )

AUTF8String getProxyForURI ( nsIURI URI )

See nsIProxyAutoConfig::getProxyForURI; this function behaves exactly the same way.

Arguments:
URI

Reference documentation is generated from Mozilla's source.