Exemplo n.º 1
0
def new_server_proxy(url):
    c = cache_set.get_cache(PyCURL_Cache, url)
    t = PyCurlTransport(c)
    return xmlrpclib.ServerProxy(url, transport=t)
Exemplo n.º 2
0
def new_server_proxy(url):
    c = cache_set.get_cache(PyCURL_Cache, url)
    t = PyCurlTransport(c)
    return xmlrpclib.ServerProxy(url, transport=t)
Exemplo n.º 3
0
def new_server_proxy(url, max_connects=None, timeout=None):
    c = cache_set.get_cache(PyCURL_Cache, url, max_per_cache=max_connects)
    t = PyCurlTransport(c, max_connects=max_connects, timeout=timeout)
    return xmlrpclib.ServerProxy(url, transport=t)
Exemplo n.º 4
0
def new_server_proxy(url, max_connects=None, timeout=None):
    c = cache_set.get_cache(PyCURL_Cache, url, max_per_cache=max_connects)
    t = PyCurlTransport(c, max_connects=max_connects, timeout=timeout)
    return xmlrpclib.ServerProxy(url, transport=t)