gitlab eidheim/Simple-Web-Server v3.0.0-rc1

latest releases: v3.1.1, v3.1, v3.0.2...
8 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

Don't miss a new Simple-Web-Server release

NewReleases is sending notifications on new releases.