Description

Experimental Web Framework on top of Heaploop.io

Package Information

Version~master (2014-Feb-24)
Repository https://github.com/heapsource/webcaret
LicenseMIT
Registered byHeapsource
Dependencies

heaploop

router

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

webcaret

Web^ is the first Web Framework for the upcoming Heaploop platform

Sneak Peek

import webcaret.application;
import heaploop.looping;

void main() {
    loop ^^ {
        auto app = new Application;
        app.router.get("/") ^ (req, res) {
            res.write("Hello World");
            res.end;
        };
        app.serve("0.0.0.0", 3000);
    };
}

Available versions

~master