rum icon indicating copy to clipboard operation
rum copied to clipboard

HTTP server on stdlib

Open avelino opened this issue 3 years ago • 0 comments

Example of how I think - we are willing to discuss the best way:

(package "main"
  (import http)
  (def home-handle(w, r)
    (fprintf w "home starting server!"))
  (http.handle-func "/" home-handle)
  (http.listen-serve ":8080" nil))

avelino avatar Feb 28 '21 22:02 avelino