Simple-Web-Server v3.0.0-rc1 Release Notes
Release Date: 2017-07-15 // almost 6 years ago-
๐ฅ 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