def __init__(self, host=None, port=None, user=None, password=None,<EOL>statuspath = None, ssl=False, autoInit=True):
if host is not None:<EOL><INDENT>self._host = host<EOL><DEDENT>else:<EOL><INDENT>self._host = '<STR_LIT:127.0.0.1>'<EOL><DEDENT>if port is not None:<EOL><INDENT>self._port = int(port)<EOL><DEDENT>else:<EOL><INDENT>if ssl:<EOL><INDENT>self._port = defaultHTTPSport<EOL><DEDENT>else:<EOL><INDENT>self._port = defaultHTTPport<EOL><DEDENT><DEDENT>self._user = user<EOL>self._password = password<EOL>if statuspath is not None:<EOL><INDENT>self._statuspath = statuspath<EOL><DEDENT>else:<EOL><INDENT>self._statuspath = '<STR_LIT>'<EOL><DEDENT>if ssl:<EOL><INDENT>self._proto = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>self._proto = '<STR_LIT:http>'<EOL><DEDENT>self._statusDict = None <EOL>if autoInit:<EOL><INDENT>self.initStats()<EOL><DEDENT>
Initialize Nginx server-status URL access.

        @param host:     Nginx Web Server Host. (Default: 127.0.0.1)
        @param port:     Nginx Web Server Port. (Default: 80, SSL: 443)
        @param user:     Username. (Not needed unless authentication is required 
                         to access server-status page.
        @param password: Password. (Not needed unless authentication is required 
                         to access server-status page.
        @statuspath:     Path of status page. (Default: nginx_status)                
        @param ssl:      Use SSL if True. (Default: False)
        @param autoInit: If True connect to Nginx Web Server on instantiation.