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

v2.0.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@eidheim eidheim released this 30 Jul 10:06
· 65 commits to master since this release

Breaking changes:

  • SocketServer::Connection::path is now split into path and query_string. This means that for instance auto server.endpoint["^/echo$"] will match both GET /echo HTTP/1.1 and GET /echo?a=b HTTP/1.1 requests.
  • SocketServer::send has been moved to SocketServer::Connection::send
  • Deprecated functions has been removed
  • Added SocketClient::Connection parameter to SocketClient's on_* functions

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
  • Added convenience SocketServer::Connection::Send(const std::string &, ...) function
  • Reformatting of the source code
  • Added utility.hpp
  • Added function for query string parsing
  • SocketClient::stop and SocketServer::stop now closes current connections