wusj / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

Add explicit arguments passing to standalone server #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When embedding pywebsocket in other projects, it would be useful to have a way 
to programmatically pass the command lines arguments to the standalone demo 
server without relying on subprocess or monkey patching.

Enclosed is a two-liner patch against r599 to optionally pass command line 
arguments to _main() in standalone.py.

Original issue reported on code.google.com by fourman...@gmail.com on 5 Nov 2011 at 7:36

GoogleCodeExporter commented 9 years ago
File misnaming, corrected.

Original comment by fourman...@gmail.com on 5 Nov 2011 at 7:38

Attachments:

GoogleCodeExporter commented 9 years ago
We've taken in your suggestion in this change. Thanks.
http://code.google.com/p/pywebsocket/source/detail?r=603

Original comment by tyoshino@chromium.org on 7 Dec 2011 at 3:58