nsIProtocolProxyCallback

IID:a9967200-f95e-45c2-beb3-9b060d874bfd
Inherits From:nsISupports
Status:UNDER_REVIEW

This interface servers as a closure for nsIProtocolProxyService's asyncResolve method.


Methods

void onProxyAvailable ( nsICancelable request , nsIURI URI , nsIProxyInfo proxyInfo , nsresult status )

void onProxyAvailable ( nsICancelable request , nsIURI URI , nsIProxyInfo proxyInfo , nsresult status )

This method is called when proxy info is available or when an error in the proxy resolution occurs.

Arguments:
request: The value returned from asyncResolve.
URI: The URI passed to asyncResolve.
proxyInfo: The resulting proxy info or null if there is no associated proxy info for uRI. As with the result of nsIProtocolProxyService's resolve method, a null result implies that a direct connection should be used.
status: The status of the callback. This is a failure code if the request could not be satisfied, in which case the value of status indicates the reason for the failure.

References

This interface is passed as an argument to the following methods:

nsIProtocolProxyService.asyncResolve

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com