Part of elisa.plugins.http_client.http_client View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
480 | Method | __init__ | Constructor. |
489 | Method | close | Close an open HTTP connection. |
485 | Method | _create_redirection_client | Undocumented |
499 | Method | _request_done | Callback invoked when receiving the response to a request. |
561 | Method | _submit_redirection_request | Undocumented |
Inherited from ElisaHttpClient:
Line # | Kind | Name | Docs |
---|---|---|---|
215 | Method | request | Send an HTTP request. |
229 | Method | request_full | Send an HTTP request. |
268 | Method | is_busy | Test whether the client is busy processing requests. |
350 | Method | connectionFailed | Callback invoked by the HTTP client factory when the connection fails. |
362 | Method | connectionLost | Callback invoked by the HTTP client factory when losing the connection. |
397 | Method | connectionLostForever | Callback invoked by the HTTP client factory when the connection is lost |
419 | Method | connectionMade | Callback invoked by the HTTP client protocol when the connection is |
435 | Method | requestWriteFinished | Callback invoked by the HTTP client protocol when a request has been |
197 | Method | _reset | Undocumented |
203 | Method | _open | Open an HTTP connection. |
280 | Method | _queue_request | Enqueue a request to submit to the server. |
313 | Method | _submit_next_request | Undocumented |
346 | Method | _callback_request_defer | Undocumented |
Parameters | host | hostname or IP address of the server
(type: str
) |
port | TCP port on which the server listens
(type: int
) | |
pipeline | whether the client should pipeline requests
(type: bool
) |
Returns | a deferred triggered when the connection is closed
(type: twisted.internet.defer.Deferred
) |