# ``twisted`.`python`.`roots`.`Request``

class documentation

`class Request: (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 | `finish` | The response to this request is finished; flush all data to the network stream.
Method | `write` | Add some data to the response to this request.
Class Variable | `wireProtocol` | Undocumented

def finish(self): (source)
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.
wireProtocol = (source)

Undocumented