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):

Add some data to the response to this request.

def finish(self):

The response to this request is finished; flush all data to the network stream.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.