Interface CefriumProfile.ProxyErrorListener

Enclosing class:
CefriumProfile

public static interface CefriumProfile.ProxyErrorListener
Told when a request fails because of the proxy, on the main thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProxyError(CefriumBrowser browser, String url, int error, boolean mainFrame)
     
  • Method Details

    • onProxyError

      void onProxyError(CefriumBrowser browser, String url, int error, boolean mainFrame)
      Parameters:
      browser - the browser the request belongs to.
      url - the request's URL.
      error - the net error, as CEF's cef_errorcode_t: for example -130 when the proxy cannot be reached, -120 when a SOCKS proxy fails to connect.
      mainFrame - true for a page load, false for a part of a page.