chickadee » pilgrim

Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

Pilgrim

Description

Pilgrim is a tiny HTTP kernel for chicken scheme. It presently doesn't implement very much of the spec, but holds few opinions; meaning the developer is free to use their own idiom and use pilgrim only as a thin layer of abstraction around http.

Author

Richo Healey

Documentation

Pilgrim is designed only to wrap http request handling and serialization. It deliberately shies away from implementing anything vaguely like business or app logic.

Requests

start port handlerprocedure

Begin the server, calling handler with a request and response object.

handler should modify and return the response object.

Contents »