Public Member Functions | |
| def | close |
| def | fetch_impl |
| def | handle_callback_exception |
| def | initialize |
Private Member Functions | |
| def | _finish |
| def | _finish_pending_requests |
| def | _handle_events |
| def | _handle_force_timeout |
| def | _handle_socket |
| def | _handle_timeout |
| def | _process_queue |
| def | _set_timeout |
Private Attributes | |
| _curls | |
| _fds | |
| _force_timeout_callback | |
| _free_list | |
| _multi | |
| _requests | |
| _timeout | |
Definition at line 42 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._finish | ( | self, | |
| curl, | |||
curl_error = None, |
|||
curl_message = None |
|||
| ) | [private] |
Definition at line 221 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._finish_pending_requests | ( | self | ) | [private] |
Process any requests that were completed by the last call to multi.socket_action.
Definition at line 185 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._handle_events | ( | self, | |
| fd, | |||
| events | |||
| ) | [private] |
Called by IOLoop when there is activity on one of our file descriptors.
Definition at line 122 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._handle_force_timeout | ( | self | ) | [private] |
Called by IOLoop periodically to ask libcurl to process any events it may have forgotten about.
Definition at line 171 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._handle_socket | ( | self, | |
| event, | |||
| fd, | |||
| multi, | |||
| data | |||
| ) | [private] |
Called by libcurl when it wants to change the file descriptors it cares about.
Definition at line 85 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._handle_timeout | ( | self | ) | [private] |
Called by IOLoop when the requested timeout has passed.
Definition at line 140 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._process_queue | ( | self | ) | [private] |
Definition at line 199 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient._set_timeout | ( | self, | |
| msecs | |||
| ) | [private] |
Called by libcurl to schedule a timeout.
Definition at line 115 of file curl_httpclient.py.
Definition at line 71 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient.fetch_impl | ( | self, | |
| request, | |||
| callback | |||
| ) |
Definition at line 80 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient.handle_callback_exception | ( | self, | |
| callback | |||
| ) |
Definition at line 259 of file curl_httpclient.py.
| def tornado.curl_httpclient.CurlAsyncHTTPClient.initialize | ( | self, | |
| io_loop, | |||
max_clients = 10, |
|||
defaults = None |
|||
| ) |
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.
Definition at line 43 of file curl_httpclient.py.