Klaus Demo bjoern / 9bbfbb3
Document new 'bjoern.server_run' API Jonas Haag 6 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7070
7171 bjoern.listen(wsgi_application, host, port)
7272 bjoern.run()
73
74 You can also simply pass a Python socket(-like) object. Note that you are responsible
75 for initializing and cleanup up the socket in that case::
76
77 bjoern.server_run(socket_object, wsgi_application)
7378
7479 .. _WSGI: http://www.python.org/dev/peps/pep-0333/
7580 .. _libev: http://software.schmorp.de/pkg/libev.html