Skip to main content

rustlavel_http/
lib.rs

1//! rustlavel-http: the HTTP layer, written from scratch on Tokio's TCP.
2//!
3//! Parsing, routing, the middleware pipeline, request and response types, the
4//! development error page, and a test client that dispatches without a socket.
5
6pub mod cookie;
7pub mod error_page;
8pub mod files;
9pub mod handler;
10pub mod headers;
11pub mod method;
12pub mod middleware;
13pub mod panic;
14pub mod plugin;
15pub mod request;
16pub mod response;
17pub mod router;
18pub mod server;
19pub mod status;
20pub mod testing;
21pub mod upgrade;
22pub mod url;
23
24pub use cookie::{Cookie, SameSite};
25pub use files::Files;
26pub use handler::Handler;
27pub use headers::Headers;
28pub use method::Method;
29pub use middleware::{Middleware, Next};
30pub use plugin::{Plugin, Setup};
31pub use request::Request;
32pub use response::{IntoResponse, Response};
33pub use router::{Resource, Route, RouteHandle, Router};
34pub use server::{Limits, Server};
35pub use status::Status;
36pub use testing::{TestClient, TestResponse};
37pub use upgrade::{Upgrade, Upgraded};