Handbook
Glossary
httpd ( port -- http-server )
Vocabulary
http
.
server
Inputs
port
an
integer
Outputs
http-server
a
http-server
Word description
Starts an HTTP server on the specified port number.
Notes
For more flexibility, use
<http-server>
and fill in the tuple slots before calling
start-server
.
Definition
USING:
accessors
io.servers
kernel
;
IN:
http.server
:
httpd
( port -- http-server )
<http-server>
swap
>>insecure
f
>>secure
start-server
;