ManaTools::Module::Proxy

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-06
Page Index
 

init_proxy

DESCRIPTION
This method does initialize the proxy attribute provided by this class.
$self->proxy is structured as follows:
no_proxy the string with the list of the excluded domains/addresses
http_proxy the url of the http proxy
https_proxy the url of the https proxy
ftp_proxy the url for the ftp proxy
 

start

INPUT

    $self: this object

DESCRIPTION

    This method extends Module::start and is invoked to
    start proxy manager

 

ask_for_X_restart

INPUT

    $self: this object

DESCRIPTION

    This method shows a message box warning the user
    that a X server restart is required

 

validate

INPUT

    $self: this object

    $proxy: the hash containing what returns from getVarFromSh
            eventually modified by the user

DESCRIPTION

    This method returns true if the each value match
    certain conditions like the leading http:// for http proxy
    or https:// for the https proxy, etc.

    $proxy is passed by reference thus $proxy->{no_proxy} value
    is sanitized (trimmed).


 

Index

init_proxy
start
ask_for_X_restart
validate
LinuxReviews : manual page archive : man3pm