|
MōBrowser API
|
The HTTP authorization preferences. More...
#include <http_auth_prefs.hpp>
Public Member Functions | |
| virtual std::shared_ptr< Network > | network ()=0 |
| The network of these authorization preferences. | |
| virtual std::string | serverWhitelist ()=0 |
| Returns the server HTTP authorization whitelist as a string with comma/semicolon separated server URLs. | |
| virtual void | setServerWhitelist (const std::string &server_whitelist)=0 |
| Configures the server HTTP authorization whitelist. | |
| virtual std::string | delegateWhitelist ()=0 |
| Returns the HTTP network delegate authorization whitelist as a string with comma/semicolon separated server URLs. | |
| virtual void | setDelegateWhitelist (const std::string &delegate_whitelist)=0 |
| Configures the HTTP network delegate authorization whitelist. | |
The HTTP authorization preferences.
|
pure virtual |
Configures the HTTP network delegate authorization whitelist.
By default, the network delegate whitelist is empty.
| delegate_whitelist | the network delegate whitelist as a string with comma/semicolon separated server URLs. For example: "*example.com,*foobar.com,*baz". |
|
pure virtual |
Configures the server HTTP authorization whitelist.
By default, the server whitelist is empty.
| server_whitelist | the server whitelist as a string with the comma/semicolon separated server URLs. For example: "*example.com,*foobar.com,*baz". |