module documentation

HTTP client module.

Class HttpClientRequest No class docstring; 1/1 property, 0/14 instance variable, 1/2 method documented
Function ProcessRequests Processes any number of HTTP client requests.
Class _NoOpRequestMonitor No-op request monitor.
Class _PendingRequest No class docstring; 0/3 instance variable, 4/4 methods documented
Class _PendingRequestMonitor No class docstring; 0/5 instance variable, 0/1 constant, 3/3 methods documented
Function _ProcessCurlRequests cURL request processor.
Function _StartRequest Starts a request on a cURL object.
def ProcessRequests(requests, lock_monitor_cb=None, _curl=pycurl.Curl, _curl_multi=pycurl.CurlMulti, _curl_process=_ProcessCurlRequests):

Processes any number of HTTP client requests.

Parameters
requests:list of HttpClientRequestList of all requests
lock_monitor_cbCallable for registering with lock monitor
_curlUndocumented
_curl_multiUndocumented
_curl_processUndocumented
def _ProcessCurlRequests(multi, requests):

cURL request processor.

This generator yields a tuple once for every completed request, successful or not. The first value in the tuple is the handle, the second an error message or None for successful requests.

Parameters
multi:pycurl.CurlMulticURL multi object
requests:sequencecURL request handles
def _StartRequest(curl, req):

Starts a request on a cURL object.

Parameters
curl:pycurl.CurlcURL object
req:HttpClientRequestHTTP request