Re: how to intercept the post request
Posted: Wed Oct 10, 2018 7:52 pm
Use the TChromium.OnBeforeResourceLoad event.
These are the code comments for that event :
And this is the web page from the API docs about that event :
https://magpcss.org/ceforum/apidocs3/pr ... llback%3E)
These are the code comments for that event :
Code: Select all
///
// Called on the IO thread before a resource request is loaded. The |request|
// object may be modified. Return RV_CONTINUE to continue the request
// immediately. Return RV_CONTINUE_ASYNC and call cef_request_tCallback::
// cont() at a later time to continue or cancel the request asynchronously.
// Return RV_CANCEL to cancel the request immediately.
//
///
https://magpcss.org/ceforum/apidocs3/pr ... llback%3E)