Skip to content

joy-framework/halo2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

halo2

halo2 is an http server for janet

Install

jpm install https://github.com/joy-framework/halo2

Example

(import halo2)

(defn handler [request]
  {:status 200 :body "halo2" :headers {"Content-Type" "text/plain"}})

(halo2/server handler 8080 "localhost")

Test that out with curl:

curl localhost:8080
# => halo2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published