예제 #1
0
def new_server_proxy(url):
    c = cache_set.get_cache(PyCURL_Cache, url)
    t = PyCurlTransport(c)
    return xmlrpclib.ServerProxy(url, transport=t)
예제 #2
0
파일: xmlrpclib2.py 프로젝트: safvan010/123
def new_server_proxy(url):
    c = cache_set.get_cache(PyCURL_Cache, url)
    t = PyCurlTransport(c)
    return xmlrpclib.ServerProxy(url, transport=t)
예제 #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)
예제 #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)