[][src]Crate hyperbole

An experimental web framework based on functional generic programming.

Modules

body

Helpers for parsing request bodies.

field

Type level fields for fun and profit.

mw

Middleware combinators.

prelude

A prelude designed to be bulk imported for ease of use.

reply

Helpers for replying to requests.

test

Facilities for testing hyperbole apps.

tree

Compressing dynamic route trie based on httprouter.

Macros

R

Expands to the type of an hlist that may contain named fields.

f

Expands to either the type of a named field, or a (~consty) expression that evaluates to an instantiated field.

r

Expands to an hlist that may contain named fields.

uri

Expands to a well-typed uri specification.

zoom

Access a named field in an hlist.

Structs

App

Contains routes and handlers for a given http application.

Ctx

A request processing context.

Routes

A collection of route handlers.

Type Definitions

Init

The set of request scoped state that contexts are initialized with.

Response

An http response.

Attribute Macros

record_args

An attribute macro to reduce boilerplate when writing functions that accept an hlist as an argument (handlers and middlewares).