Package cherrypy :: Package wsgiserver :: Module wsgiserver2 :: Class HTTPConnection
[hide private]
[frames] | no frames]

Class HTTPConnection

source code

object --+
         |
        HTTPConnection

An HTTP connection (active socket).

server: the Server object which received this connection. socket: the raw socket object (usually TCP) for this connection. makefile: a fileobject class for reading from the socket.

Nested Classes [hide private]
  RequestHandlerClass
An HTTP Request (and response).
Instance Methods [hide private]
 
__init__(self, server, sock, makefile=<class 'cherrypy.wsgiserver.wsgiserver2.CP_fileobject'>)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
communicate(self)
Read each request and respond appropriately.
source code
 
close(self)
Close the socket underlying this connection.
source code

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

Class Variables [hide private]
  remote_addr = None
hash(x)
  remote_port = None
hash(x)
  ssl_env = None
hash(x)
  rbufsize = -1
  wbufsize = -1
  linger = False
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, server, sock, makefile=<class 'cherrypy.wsgiserver.wsgiserver2.CP_fileobject'>)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)