Package com.cefrium
Interface CefriumBrowser.RequestInterceptor
- Enclosing class:
CefriumBrowser
public static interface CefriumBrowser.RequestInterceptor
Decides whether to block outgoing requests. Invoked on a background
(network) thread for every request — must be fast and thread-safe, and
must not touch the UI. Complements the built-in EasyList ad blocker.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldBlockRequest(String url, String method, boolean isMainFrame) Return true to block (cancel) this request.
-
Method Details
-
shouldBlockRequest
Return true to block (cancel) this request.
-