swazoo

Swazoo runs on GST!

Tagged:  •    •    •    •  

That's it! Swazoo runs on GNU Smalltalk! Code is not yet committed, but it works and passes the entire testsuite.

This script for example will start a web server on http://localhost:8888/

PackageLoader fileInPackage: 'Swazoo'.

Swazoo.Resource subclass: MyResource [
    answerTo: aRequest [
        | response |
        response := Swazoo.HTTPResponse ok.
        response entity: '<h1>Hello World!</h1>'.
        ^response
    ]
]

site := Swazoo.Site new name: 'test'. "name is just for convenience"
site host: 'localhost' ip: '127.0.0.1' port: 8888.

Syndicate content

User login