| OpenVPN 3 Core Library
    | 
Class for managing proxy bypass host configurations. More...
#include <capture.hpp>
| Public Member Functions | |
| std::string | to_string () const | 
| Converts the bypass host to a string representation. | |
| bool | defined () const | 
| Checks if a bypass host is defined. | |
| void | validate (const std::string &title) const | 
| Validates the bypass host value. | |
| Json::Value | to_json () const | 
| Serializes the object to JSON. | |
| void | from_json (const Json::Value &root, const std::string &title) | 
| Deserializes the object from JSON. | |
| Public Attributes | |
| std::string | bypass_host | 
Class for managing proxy bypass host configurations.
The ProxyBypass class provides functionality to store, validate, and serialize/deserialize information about a host that should bypass proxy settings.
Definition at line 331 of file capture.hpp.
| 
 | inline | 
Checks if a bypass host is defined.
Returns true if a bypass host is specified (non-empty string), false otherwise. 
true if bypass host is defined, false otherwise. Definition at line 351 of file capture.hpp.
| 
 | inline | 
Deserializes the object from JSON.
Extracts bypass_host value from the provided JSON object.
| root | The JSON value to parse. | 
| title | A descriptive title used in error messages if parsing fails. | 
Definition at line 388 of file capture.hpp.
| 
 | inline | 
Serializes the object to JSON.
Creates a JSON object with the bypass_host value.
Definition at line 375 of file capture.hpp.
| 
 | inline | 
Converts the bypass host to a string representation.
Definition at line 340 of file capture.hpp.
| 
 | inline | 
Validates the bypass host value.
Validates the bypass host if defined using the HostPort validator. This ensures the host is properly formatted.
| title | A descriptive title used in error messages if validation fails. | 
Definition at line 363 of file capture.hpp.
| std::string openvpn::TunBuilderCapture::ProxyBypass::bypass_host | 
Definition at line 334 of file capture.hpp.