HappyHTTP 0.1 review

Download
by rbytes.net on

HappyHTTP is a simple C++ library for issuing HTTP requests and processing responses. Here are some key features of "HappyHTTP":

License: zlib/libpng License
File size: 12K
Developer: Ben Campbell
0 stars award from rbytes.net

HappyHTTP is a simple C++ library for issuing HTTP requests and processing responses.

Here are some key features of "HappyHTTP":
Simple to integrate - just drop in the .h and .cpp files
Easy-to-use interface (example)
Non-blocking operation, suitable for use in game update loops
Supports pipelining. You can issue multiple requests without waiting for responses.
Licensed under the zlib/libpng license.
Cross-platform (Linux, OSX, Windows, at least)

Usage:

The interface is based loosely on Pythons httplib. I've kept the same terminology where possible.

All HappyHTTP code is kept within the happyhttp namespace

To issue and process a HTTP request, the basic steps are:

Create a connection object
Set up callbacks for handling responses
Issue request(s)
'pump' the connection at regular intervals. As responses are received, the callbacks will be invoked.

HappyHTTP 0.1 keywords