fix cont-responder tutorial method of starting server.
parent
f8939863ff
commit
9fdc70a623
|
@ -22,13 +22,12 @@ vocabulary:
|
||||||
The responders that you will be writing will require an instance of
|
The responders that you will be writing will require an instance of
|
||||||
the httpd server to be running. It will be run in a background thread
|
the httpd server to be running. It will be run in a background thread
|
||||||
to enable the interactive development of the applications. The
|
to enable the interactive development of the applications. The
|
||||||
following is a simple function to start the server on port 8888 and
|
following is a simple function to start the server on port 8888:
|
||||||
restart it if an error occurs:
|
|
||||||
|
|
||||||
USE: httpd
|
USE: httpd
|
||||||
USE: threads
|
USE: threads
|
||||||
: start-httpd [ 8888 httpd ] [ dup . flush [ start-httpd ] when* ] catch ;
|
: start-httpd [ 8888 httpd ] in-thread ;
|
||||||
[ start-httpd ] in-thread
|
start-httpd
|
||||||
|
|
||||||
Responders
|
Responders
|
||||||
==========
|
==========
|
||||||
|
|
Loading…
Reference in New Issue