waft.warp_client.windows_warp_client_handler module¶
- class waft.warp_client.windows_warp_client_handler.WindowsWarpClientHandler(system: SystemActions)¶
Bases:
WarpClientHandlerFacade style class that provides easy access to functional parts of the windows warp client
- app_data_path: PurePath = PureWindowsPath('C:/ProgramData/Cloudflare')¶
- get_warp_dns_mode() str¶
Get the current WARP DNS resolution mode
- property install_manager¶
Returns an instance of the windows install manager
- read_registration_secret() dict¶
Read the stored WARP registration secret details.
- Returns:
JSON-formatted WARP registration secret details
- Return type:
dict
- set_service_environment_variable(variable: str, value: str | int)¶
Set Environment variable for the WARP client service
- Parameters:
variable – name of the environment variable to set
value – Value to which to set the environment variable
- tunnel_connected() bool¶
Check to see if WARP is routing the connection through the tunnel
- property warp_cli: WarpCliBase¶
Returns a WarpCli instance for the appropriate node.