Raxx v0.17.0 Release Notes
Release Date: 2018-10-28 // over 5 years ago-
โ Added
Raxx.SimpleServer
behaviour for servers that only need ahandle_request/2
callback. usingRaxx.SimpleServer
automatically implementsRaxx.Server
so the module can be used in a service.
๐ Changed
- โ
use Raxx.Server
issues a warning if the module implementshandle_request/2
, it is expected that such servers will make use of the newRaxx.SimpleServer
. Raxx.set_header/2
raises anArgumentError
when setting host headers.ArgumentError
is raised instead ofRuntimeError
in cases of bad headers and body content.Raxx.set_body/2
raises anArgumentError
for GET and HEAD requests.
โ Removed
Raxx.is_application?
, useRaxx.Server.verify_server
instead.Raxx.verify_application
, useRaxx.Server.verify_server
instead.Raxx.Server.is_implemented?
, useRaxx.Server.verify_server
instead.