Simple-WebSocket-Server v2.0.0-rc1 Release Notes
Release Date: 2017-07-30 // over 6 years ago-
๐ฅ 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
- SocketServer::Connection::path is now split into path and query_string. This means that for instance auto