Changeset 1675
- Timestamp:
- 06/21/07 15:26:32
- Files:
-
- trunk/cherrypy/_cpserver.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cpserver.py
r1666 r1675 36 36 cherrypy.server.quickstart() 37 37 38 If you want to use an HTTP server other than the default, create it 39 and pass it to quickstart: 40 41 s = MyCustomWSGIServer(wsgiapp, port=8080) 42 cherrypy.server.quickstart(s) 43 38 44 But if you need to start more than one HTTP server (to serve on multiple 39 45 ports, or protocols, etc.), you can manually register each one and then 40 control them all through this object:46 control them all: 41 47 42 48 s1 = MyWSGIServer(host='0.0.0.0', port=80)

