Module finchers::endpoint [] [src]

Definition of the trait Endpoint and its implementors

Modules

body

Definition of endpoints to parse request body

combinator

Definition of combinators

header

Definition of endpoints to parse request headers

method

Definition of wrappers with additional check of HTTP method

path

Definition of endpoints to parse path segments

query

Definition of endpoints to parse query parameters

Enums

EndpointError

The error type during Endpoint::apply()

Traits

Endpoint

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

NewEndpoint

A factory of Endpoint

PathExt [
Deprecated
]

Functions

body

Create an endpoint, represents the value of a request body

header

Create an endpoint matches the value of a request header

header_opt

Create an endpoint matches the value of a request header, which the value may not exist

param

Create an endpoint which represents a path element

params

Create an endpoint which represents the sequence of remaining path elements

query

Create an endpoint matches a query parameter named name

query_opt

Create an endpoint matches a query parameter, which the value may not exist

segment

Create an endpoint which represents a path segment

Type Definitions

EndpointResult

The return type of Endpoint::apply()