cherrypy.process.servers module¶
│ │ │Starting in CherryPy 3.1, cherrypy.server is implemented as an
│ │ │ -Engine Plugin. It’s an instance of
│ │ │ +Engine Plugin. It’s an instance of
│ │ │ cherrypy._cpserver.Server
, which is a subclass of
│ │ │ cherrypy.process.servers.ServerAdapter
. The ServerAdapter
class
│ │ │ is designed to control other servers, as well.
Multiple servers/ports¶
│ │ │If you need to start more than one HTTP server (to serve on multiple ports, or │ │ │ protocols, etc.), you can manually register each one and then start them all