Skip to content

pkgzm/vsgi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vala Server Gateway Interface

VSGI is a middleware that interfaces different Web server technologies under a common and simple set of abstractions.

using VSGI;

class App : Handler 
{
    public override async bool handle_async (Request req, Response res) throws Error 
    {
        return yield res.expand_utf8_async ("Hello world!");
    }
}

Server.@new ("http", handler: new App ()).run ({"app", "--address=0.0.0.0:3003", "--forks=4"});

About

Vala Server Gateway Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vala 89.8%
  • C 6.2%
  • Meson 3.6%
  • Python 0.4%