raxx v0.17.1 API Reference

Modules

Tooling to work with HTTP

Add protection to a Raxx application using Basic Authentication

A part of an HTTP messages body

Toolkit for parsing and serializing requests to HTTP/1.1 format

Create a general template that can be reused by views

Middleware for basic logging in the 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

Generate a unique identifier for a request

HTTP responses from a Raxx application are encapsulated in a Raxx.Response struct

Simple router for Raxx applications

Interface to handle server side communication in an HTTP message exchange

Use signed cookies to store the session for a client

A very simple HTTP/1.1 client

Server interface for simple request -> response interactions

A Raxx.Stack is a list of Raxx.Middlewares 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

Generate views from .eex template files

Exceptions

Raise when a server module returns an invalid reaction