Crate pen

Source

Re-exports§

pub use types::PenHTTPError;
pub use types::PenUserError;
pub use wrappers::Request;
pub use wrappers::Response;
pub use http_errors::HTTPError;
pub use helpers::PathBound;
pub use helpers::safe_join;
pub use helpers::abort;
pub use helpers::redirect;
pub use helpers::escape;
pub use helpers::send_file;
pub use helpers::send_from_directory;

Modules§

datastructures
helpers
http_errors
method
routing
This module implements the dispatcher.
wrappers

Structs§

ContentLength
Content-Length header, defined in RFC7230
ContentType
Content-Type header, defined in RFC7231
Cookie
Cookie header, defined in RFC6265
Headers
A map of header fields on requests and responses.
Pen
SetCookie
Set-Cookie header, defined RFC6265
UserError

Enums§

PenError

Type Aliases§

AfterRequestFunc
BeforeRequestFunc
HTTPErrorHandler
PenResult
TeardownRequestFunc
UserErrorHandler
ViewArgs
ViewFunc