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>,
    pub static_logging: bool,
    pub use_gzip: bool,
    pub etag: ETag,
}

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.

This is used by hyper to respond to any requests

Auto Trait Implementations

impl Send for Pony

impl Sync for Pony