t.p.r.Request : class documentation

Part of twisted.python.roots View Source View In Hierarchy

I am an abstract representation of a request for an entity.

I also function as the response. The request is responded to by calling self.write(data) until there is no data left and then calling self.finish().

Method write Add some data to the response to this request.
Method finish The response to this request is finished; flush all data to the network stream.
def write(self, data): (source)
Add some data to the response to this request.
def finish(self): (source)
The response to this request is finished; flush all data to the network stream.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.