Part of twisted.web2.proxy View Source View In Hierarchy
This class implements a simple web proxy.
Since it inherits from twisted.protocols.http.HTTPChannel, to use it you should do something like this:from twisted.web2 import http f = http.HTTPFactory() f.protocol = ProxyMake the HTTPFactory a listener on a port as per usual, and you have a fully-functioning web proxy!