Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

v3.0.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@eidheim eidheim released this 15 Jul 13:36
· 94 commits to master since this release

Breaking changes:

  • Server::Request::path is now split into path and query_string. This means that for instance server.resource["^/info$"]["GET"] will match both GET /info HTTP/1.1 and GET /info?a=b HTTP/1.1 requests.
  • Server::send has been moved to Server::Response::send
  • Deprecated functions has been removed

Notable changes:

  • Standalone Asio is now supported
  • Handlers are now safely canceled on Client and Server destruction. This is especially useful when using an external io_service
  • A major restructuring of the source code
  • Added convenience write functions to Server::Response
  • Added asynchronous client request functions
  • Client now supports parallel requests
  • Client now attempts to reconnect timed out connections
  • Added convenience Client::Response::Content::string() function
  • Added Status Code header with convenience functions to create and read status codes
  • Added function to create query string in addition to query string parsing
  • Added Client::stop
  • Server::stop now closes current connections