Home | Trees | Indices | Help |
|
---|
|
object --+ | httxobject.HttxObject --+ | httxbase.HttxBase --+ | HttxNetLocation
Net Location Connecting object. The HttxNetLocation is responsible for creating and managing a set of HttxConnection connection objects that will perform the actual connection
HttxConnection connections will be created on demand and re-used if possible. Active connections will be kept in a cache, whilst non-active will be kept in a double queue (next in use to be popped from the right, and after usage they wll be appended to the left
Due to the threading nature, a in-operation cache may hold connections during manipulation
|
|||
|
|||
HttxNetLocation @see clone |
|
||
HttxNetLocation |
|
||
opaque type for the caller (a Python sock) |
|
||
HttxResponse (compatible with httplib HTTPResponse) |
|
||
Inherited from Inherited from |
|
|||
httxconnache Cache of connections with a pending request/response |
|||
httxconnque The double queue holding non-active connections |
|||
inopcache Temporary in-operation cache for connections during request/response |
|||
str |
url url used to set the net location to which connections will connect |
||
Inherited from Inherited from |
|
|||
Inherited from |
|
Constructor. It delegates construction to the base class HttxBase and initializes the member variables
See Also: HttxOptions |
Deepcopy support.
|
Clone the object using the supplied options or a new set of options if given. An equivalente set of HttxConnection objects will be replicated A new set of options will separate the clone object from the original object, since they will no longer share cookies, user/password/realm combinations or https certificates
|
Send the HttxRequest httxreq to the specified server inside the request It does get a connection or create one and relay the request down to it, taking into account the HTTP keepalive timeout
|
Recover a HttxResponse using the connection that is in the cache indexed by sock and calling its getresponse
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 13 14:56:41 2011 | http://epydoc.sourceforge.net |