HTTPageboy
Minimal HTTP server package for handling request/response transmission. Focuses only on transporting a well formed HTTP message; does not process or decide how the server behaves. Aspires to become runtime-agnostic, with minimal, solid, and flexible dependencies.
Request: any HTTP request.
Route: path + method + handler → returns Response.
Response: bytes with content-type, sent to browser.
Example
lib.rs is the actual implementation of the server.
main.rs is this following example ready for execution. Just run cargo run on the terminal and go to http://127.0.0.1:7878.
Creating a simple server:
use ; // Rt is alias for ResponseType
License
Copyright (c) 2025 fahedsl. This project is licensed under the MIT License.