Raxx v0.17.0 Release Notes

Release Date: 2018-10-28 // over 5 years ago
  • โž• Added

    • Raxx.SimpleServer behaviour for servers that only need a handle_request/2 callback. using Raxx.SimpleServer automatically implements Raxx.Server so the module can be used in a service.

    ๐Ÿ”„ Changed

    • โš  use Raxx.Server issues a warning if the module implements handle_request/2, it is expected that such servers will make use of the new Raxx.SimpleServer.
    • Raxx.set_header/2 raises an ArgumentError when setting host headers.
    • ArgumentError is raised instead of RuntimeError in cases of bad headers and body content.
    • Raxx.set_body/2 raises an ArgumentError for GET and HEAD requests.

    โœ‚ Removed

    • Raxx.is_application?, use Raxx.Server.verify_server instead.
    • Raxx.verify_application, use Raxx.Server.verify_server instead.
    • Raxx.Server.is_implemented?, use Raxx.Server.verify_server instead.