Package restkit :: Module conn :: Class Connection
[hide private]

Class Connection

source code

               object --+    
                        |    
socketpool.conn.Connector --+
                            |
                           Connection

Instance Methods [hide private]
 
__init__(self, host, port, backend_mod=None, pool=None, is_ssl=False, extra_headers=[], proxy_pieces=None, **ssl_args)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
matches(self, **match_options) source code
 
is_connected(self) source code
 
handle_exception(self, exception) source code
 
get_lifetime(self) source code
 
invalidate(self) source code
 
release(self, should_close=False) source code
 
close(self) source code
 
socket(self) source code
 
send_chunk(self, data) source code
 
send(self, data, chunked=False) source code
 
sendlines(self, lines, chunked=False) source code
 
sendfile(self, data, chunked=False)
send a data from a FileObject
source code
 
recv(self, size=1024) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, host, port, backend_mod=None, pool=None, is_ssl=False, extra_headers=[], proxy_pieces=None, **ssl_args)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

matches(self, **match_options)

source code 
Overrides: socketpool.conn.Connector.matches

is_connected(self)

source code 
Overrides: socketpool.conn.Connector.is_connected

handle_exception(self, exception)

source code 
Overrides: socketpool.conn.Connector.handle_exception

get_lifetime(self)

source code 
Overrides: socketpool.conn.Connector.get_lifetime

invalidate(self)

source code 
Overrides: socketpool.conn.Connector.invalidate