Ei kuvausta

yhirose 12ac86943e Changed to use snprintf. 13 vuotta sitten
example 7c803330e0 Simplified the sample code. 13 vuotta sitten
.gitignore 181d642238 Added 'hello' example. 13 vuotta sitten
README.md bad43c66d7 Added the hello world sample to README.md. 13 vuotta sitten
httpsvrkit.h 12ac86943e Changed to use snprintf. 13 vuotta sitten

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.