Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1675

Show
Ignore:
Timestamp:
06/21/07 15:26:32
Author:
fumanchu
Message:

Server docstring update.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cpserver.py

    r1666 r1675  
    3636        cherrypy.server.quickstart() 
    3737     
     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     
    3844    But if you need to start more than one HTTP server (to serve on multiple 
    3945    ports, or protocols, etc.), you can manually register each one and then 
    40     control them all through this object
     46    control them all
    4147     
    4248        s1 = MyWSGIServer(host='0.0.0.0', port=80) 

Hosted by WebFaction

Log in as guest/cpguest to create tickets