https://github.com/ktakashi/sagittarius-paella
Simple HTTP server framework for Sagittarius Scheme
https://github.com/ktakashi/sagittarius-paella
Last synced: about 1 month ago
JSON representation
Simple HTTP server framework for Sagittarius Scheme
- Host: GitHub
- URL: https://github.com/ktakashi/sagittarius-paella
- Owner: ktakashi
- Created: 2015-06-15T11:14:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T13:55:54.000Z (about 6 years ago)
- Last Synced: 2025-02-05T16:16:18.881Z (3 months ago)
- Language: Scheme
- Size: 156 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Paella - Simple HTTP server framework
=====================================Paella is a simple HTTP server framework for Sagittarius Scheme. The
server itself is based on `(net server)` library.This repository contains `(tapas)` which is a simple CLOS based HTTP
component framework and `(plato)` which is a simple web application
framework.Example
-------```scheme
(import (rnrs)
(net server)
(paella))(define config (make-http-server-config :max-thread 5))
(define http-dispatcher
(make-http-server-dispatcher
(GET "/" (http-file-handler "index.html" "text/html"))))(define server
(make-simple-server "8080" (http-server-handler http-dispatcher)
:config config))(server-start! server)
```Documents
---------- Paella: [Paella reference manual](docs/paella.md)
- Tapas: [Tapas reference manual](docs/tapas.md)
- Plato: [Plato reference manual](docs/plato.md)Supporting version
------------------This library requries Sagittarius Scheme 0.6.10 (HEAD) or later.