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
Breaking changes:
- SocketServer::Connection::path is now split into path and query_string. This means that for instance auto
server.endpoint["^/echo$"]
will match bothGET /echo HTTP/1.1
andGET /echo?a=b HTTP/1.1
requests. SocketServer::send
has been moved toSocketServer::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
andSocketServer::stop
now closes current connections