Trees | Index | Help |
---|
Package SPyRO :: Module SPyRO :: Class ProtocolHTTPShared |
|
TransportProtocolMixIn
--+
|
ProtocolHTTPShared
Method Summary | |
---|---|
Perform connection using the opened socket |reqsocket| | |
__del__(self)
| |
Close the server | |
Read the request and return it as a Request object instance | |
Common code between send_result and send_error | |
Send an error (errormsg is an error string) | |
Encode and send the message (msg is a Response object) |
Method Details |
---|
__init__(self)
Perform connection using the opened socket |reqsocket|
|
close(self)Close the server |
get_request(self, peerconn)Read the request and return it as a Request object instance |
send_data(self, data, peerconn)Common code between send_result and send_error |
send_error(self, errormsg, peerconn, code=None)Send an error (errormsg is an error string) |
send_result(self, msg, peerconn)Encode and send the message (msg is a Response object) |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 | http://epydoc.sf.net |