![]() |
Ultralight C++ API 1.4.0
|
#include <Ultralight/Listener.h>
User-defined interface to handle network-related events for a View.
Public Member Functions | |
virtual | ~NetworkListener () |
virtual bool | OnNetworkRequest (ultralight::View *caller, NetworkRequest &request)=0 |
Called when the View is about to begin a network request. | |
|
inlinevirtual |
|
pure virtual |
Called when the View is about to begin a network request.
You can use this to block or modify network requests before they are sent.
Return true to allow the request, return false to block it.