Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
This library can be used to create applications that need to expose services through HTTP (e.g. embeddable ReST services).
Warning
|
This is not an official Boost C++ library. It wasn’t reviewed and can’t be downloaded from www.boost.org. This library will be reviewed eventually. |
Boost.Http is a library that provides an incremental HTTP parser and a set of mini-parsers that can be used independently or combined [1]. A future version will also provide a message generator.
The highlights are:
-
Support for modern HTTP features.
-
Simple.
-
Portable (C++03 and little dependencies).
-
Just like Ryan Dahl’s HTTP parser, this parser does not make any syscalls nor allocations, it does not buffer data.
-
You can mutate the passed buffer [2].
-
It doesn’t steal control flow from your application [3]. Great for HTTP pipelining.
-
Matching and decoding token as separate steps [4].