Skip to content

C++ HTTP library based on Boost:::Asio networking

Notifications You must be signed in to change notification settings

romansvozil/fhttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F(ast)HTTP

fhttp is as library that provides fairly simple interface for building HTTP based servers, it provides "auto" json de/serialization, swagger generation and much more!

For examples check out basic_http_server

Notice

fhttp is currently mostly just a POC and funny personal project

Features

  • Shared configuration
  • Shared state between handlers
  • Auto JSON de/serialization
  • Auto OpenAPI spec generation
  • Graceful shutdown
  • Regex pattern within URLs
  • Currently supports only HTTP version 1.*
  • Keep-alive Timeout
  • Middlewares using handler base classes that modify evaluate_request

todo

Development

  • To compile this project you need to have installed boost with filesystem regex thread chrono date_time json libs
mkdir build
cd build
cmake .. && make

About

C++ HTTP library based on Boost:::Asio networking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published