Crate finchers [] [src]

Finchers is a combinator library for building HTTP services, based on Hyper and Futures.

Modules

endpoint

Definition of the trait Endpoint and its implementors

errors

Definition of error types

request

Definitions and reexports of incoming HTTP requests

response

Definitions and reexports related to HTTP response

server

Definition of HTTP services for Hyper

test

Helper functions for testing

Structs

Body
Context

A set of values, contains the incoming HTTP request and the finchers-specific context.

EndpointService

A wrapper for Endpoints, to provide HTTP services

Json

Represents a JSON value

Request

The value of incoming HTTP request, without the request body

Response

An HTTP Response

Traits

Endpoint

A HTTP endpoint, which provides the futures from incoming HTTP requests

NewEndpoint
Responder

The type to be converted to hyper::Response