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