Skip to content

ktakashi/sagittarius-paella

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

(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

Supporting version

This library requries Sagittarius Scheme 0.6.10 (HEAD) or later.

About

Simple HTTP server framework for Sagittarius Scheme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages