'Inits RequestsTransport.
Args:
use_https: If true, https else http
authtype: None, basic or digest
username: Username
password: Password
check_ssl_cert: Check SSL certificate
proxies: A dict of proxies(
Ex: {"http": "http://10.10.1.10:3128",
"https": "http://10.10.1.10:1080",})
Raises:
ValueError: Invalid info'

def __init__(self, use_https=True, authtype=None, username=None, password=None, check_ssl_cert=True, proxies=None):

    if issubclass(xmlrpc_client.Transport, object):
        super(RequestsTransport, self).__init__()
    else:
        xmlrpc_client.Transport.__init__(self)
    self.user_agent = ('Python    Requests/' + requests.__version__)
    self._use_https = use_https
    self._check_ssl_cert = check_ssl_cert
    if ((authtype == 'basic') or (authtype == 'digest')):
        self._authtype = authtype
    else:
        raise ValueError('Supported    authentication    are:    basic    and    digest')
    if (authtype and ((not username) or (not password))):
        raise ValueError('Username    and    password    required    when    using    authentication')
    self._username = username
    self._password = password
    if (proxies is None):
        self._proxies = {}
    else:
        self._proxies = proxies
