Nav apraksta

yhirose bad43c66d7 Added the hello world sample to README.md. 14 gadi atpakaļ
example bad43c66d7 Added the hello world sample to README.md. 14 gadi atpakaļ
.gitignore 181d642238 Added 'hello' example. 14 gadi atpakaļ
README.md bad43c66d7 Added the hello world sample to README.md. 14 gadi atpakaļ
httpsvrkit.h be2a1fdb9d Refactoring and DSL support. 14 gadi atpakaļ

README.md

httpsvrkit

C++ HTTP sever library inspired by Sinatra

The Boost Software License 1.0

Example

#include <httpsvrkit.h>

int main(void) {
    HTTP_SERVER("localhost", 1234) {
        GET("/hi", {
            res.set_content("Hello World!");
        });
    }
}

Copyright (c) 2012 Yuji Hirose. All rights reserved.