waft.warp_client.windows_warp_client_handler module¶
- class waft.warp_client.windows_warp_client_handler.WindowsWarpClientHandler(node: BaseNode)¶
Bases:
WarpClientHandler
Facade 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
- 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
- version_pattern = '([0-9]{2})\\.([0-9]{1,2})\\.([0-9]{1,3})(\\.[0-9])'¶
- property warp_cli: WarpCliBase¶
Returns a WarpCli instance for the appropriate node.