module documentation
HTTP client module.
Class |
|
No class docstring; 1/1 property, 0/14 instance variable, 1/2 method documented |
Function |
|
Processes any number of HTTP client requests. |
Class | _ |
No-op request monitor. |
Class | _ |
No class docstring; 0/3 instance variable, 4/4 methods documented |
Class | _ |
No class docstring; 0/5 instance variable, 0/1 constant, 3/3 methods documented |
Function | _ |
cURL request processor. |
Function | _ |
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 HttpClientRequest | List of all requests |
lock | Callable for registering with lock monitor |
_curl | Undocumented |
_curl | Undocumented |
_curl | Undocumented |
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.CurlMulti | cURL multi object |
requests:sequence | cURL request handles |
Starts a request on a cURL object.
Parameters | |
curl:pycurl.Curl | cURL object |
req:HttpClientRequest | HTTP request |