Package wsgiwapi :: Package cpwsgiserver :: Class CP_fileobject
[frames] | no frames]

Class CP_fileobject

source code

        object --+    
                 |    
socket._fileobject --+
                     |
                    CP_fileobject

Faux file object attached to a socket object.

Instance Methods
 
sendall(self, data)
Sendall for non-blocking sockets.
source code
 
send(self, data) source code
 
flush(self) source code
 
recv(self, size) source code
 
read(self, size=-1) source code
 
readline(self, size=-1) source code

Inherited from socket._fileobject: __del__, __init__, __iter__, close, fileno, next, readlines, write, writelines

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

Class Variables

Inherited from socket._fileobject: closed, default_bufsize, name

Properties

Inherited from object: __class__

Method Details

flush(self)

source code 
Overrides: socket._fileobject.flush

read(self, size=-1)

source code 
Overrides: socket._fileobject.read

readline(self, size=-1)

source code 
Overrides: socket._fileobject.readline