Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 904 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 904 Bytes

Snowy

Snowy Owl

A more node-like alternative to spiffy.

Implements a HTTP server for CHICKEN Scheme based on Joyent's http-parser C library (used in Node.js). Borrows some ideas and code from the fantastic intarweb and spiffy too. The API is fairly basic, the idea being that nicer response authoring and query string parsing etc. can be layered on top.

NOTE: This is a work-in-progress, feel free to experiment and give feedback, but don't put to real use yet!

Example

(use snowy)

(http-listen
 (lambda (req res)
   (update-response res
     code: 200
     body: "Hello, world!\n")))