raxx v1.1.0 API Reference
Modules
Tooling to work with HTTP.
Raxx.Context
is a mechanism for simple sharing of state/information between
Raxx.Middleware
s and Raxx.Server
s.
A part of an HTTP messages body.
Toolkit for parsing and serializing requests to HTTP/1.1 format.
A "middleware" is a component that sits between the HTTP server
such as as Ace and a Raxx.Server
controller.
The middleware can modify requests request before giving it to the controller and
modify the controllers response before it's given to the server.
HTTP requests to a Raxx application are encapsulated in a Raxx.Request
struct.
HTTP responses from a Raxx application are encapsulated in a Raxx.Response
struct.
Routing for Raxx applications.
Interface to handle server side communication in an HTTP message exchange.
Server interface for simple request -> response
interactions.
A Raxx.Stack
is a list of Raxx.Middleware
s attached to a Raxx.Server
.
It implements the Raxx.Server
interface itself so it can be used anywhere
"normal" server can be.
A trailer allows the sender to include additional fields at the end of a streamed message.
Exceptions
Raise when a server module returns an invalid reaction