OPSI.web2.channel package¶
Submodules¶
Module contents¶
Various backend channel implementations for web2.
-
OPSI.web2.channel.startCGI(site)¶ Call this as the last thing in your CGI python script in order to hook up your site object with the incoming request.
E.g.: >>> from OPSI.web2 import channel, server >>> if __name__ == ‘__main__’: ... channel.startCGI(server.Site(myToplevelResource))
-
class
OPSI.web2.channel.SCGIFactory(requestFactory)¶ Bases:
twisted.internet.protocol.ServerFactory-
buildProtocol(addr)¶
-
protocol¶ alias of
SCGIChannelRequest
-