MōBrowser API
Loading...
Searching...
No Matches
mobrowser::BeforeUrlRequestAction Class Reference

The NetworkDelegates::onBeforeUrlRequest action arguments. More...

#include <network_delegates.hpp>

Inheritance diagram for mobrowser::BeforeUrlRequestAction:
mobrowser::Action

Public Member Functions

 BeforeUrlRequestAction (std::unique_ptr< rpc::internal::Callback > callback)
 
void redirect (const std::string &url)
 Redirect the URL request to the given URL.
 
void cancel ()
 Cancel the URL request.
 
void proceed ()
 Continue loading the URL request without redirecting.
 
- Public Member Functions inherited from mobrowser::Action
 Action (std::unique_ptr< rpc::internal::Callback > callback)
 

Additional Inherited Members

- Protected Attributes inherited from mobrowser::Action
std::unique_ptr< rpc::internal::Callback > callback_
 

Detailed Description


The documentation for this class was generated from the following file: