Releases: ef-gy/cxxhttp
v2: HTTP-over-STDIO and Full Test Code Coverage
This release fixes a few minor bugs (e.g. being unable to have a query string as part of the local part of a URL) and adds the ability to talk HTTP over STDIO for both the server and client.
For the client, simply pass "stdio" as a URL's "port", like http://somewhere:stdio/
- in this case, the host part of the location is ignored for anything but the Host
header, and the programme will start talking HTTP on STDIO. This is mostly useful for testing, and for running an HTTP server through xinetd
.
Speaking of testing, the tests now cover 100% of the code lines, which means it's pretty likely that this server does exactly what it says on the tin. If you find bugs, please do open an issue - and I do consider lack of documentation a bug :).
v1: Basic HTTP client/server implementation
This is the first release of this library. The server side provides a convenient servlet-based way to create HTTP servers, and the client side has an API that vaguely resembles some JS HTTP clients.
See http://github.com/ef-gy/cxxhttp-example for an example of how to use it. The readme also has a recap of that. It's pretty straightforward. Seriously.
Current library docs are available at: http://documentation.ef.gy/cxxhttp
If you find bugs, please do post them in the Issues section here at GitHub.