Skip to content

thechampagne/cepresso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

version license

About cepresso

A mini web framework for C. It's written on top of httpserver.h.

Example

#include "cepresso.h"

void cb(cepresso_req* req, cepresso_res* res)
{
	res->status(res,200);
  	res->set(res,"content-type", "text/html");
  	res->send(res,"<h1>Hello World</h1>");
}

int main()
{
	cepresso* app;
  	app = cepresso_init();
	app->get("/", cb);
	app->listen(app,3000);
}

License

cepresso is released under the MIT License.

About

A mini web framework for C

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages