httpd ( port -- http-server ) (original) (raw)
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 and fill in the tuple slots before calling start-server.
Definition
USING: accessors io.servers kernel ;
: httpd ( port -- http-server )
swap >>insecure f >>secure start-server ;