Skip to content

About

async aware http server library for janet

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Janet ahttp

ahttp is an async aware http server for janet. Requests may happen concurrently using janet's native coroutines.

Documentation pending...

Example

(import ahttp)

(defn handler 
  [req]
  @{:status 200
    :body "hello!"
    :headers {"Content-Type" "text/plain"}})

(defn main
  [&]
  (ahttp/server "localhost" 8080 handler))

About

async aware http server library for janet

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors