Struct pony::pony::Pony [] [src]

pub struct Pony {
    pub gets: HashMap<String, Callback>,
    pub posts: HashMap<String, Callback>,
    pub puts: HashMap<String, Callback>,
    pub deletes: HashMap<String, Callback>,
    pub static_path: String,
    pub static_enabled: bool,
    pub not_found_path: String,
    pub custom_not_found: bool,
    pub known_extensions: HashSet<String>,
}

A set of hyper http settings

Fields

Trait Implementations

impl Service for Pony
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

This is used by hyper to respond to any requests