This repository was archived by the owner on Jun 12, 2018. It is now read-only.
Repository navigation
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.1andGET /echo?a=b HTTP/1.1requests. SocketServer::sendhas been moved toSocketServer::Connection::send- Deprecated functions has been removed
- Added
SocketClient::Connectionparameter 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::stopandSocketServer::stopnow closes current connections