HTTPageboy Server
Minimal HTTP server package for handling request/response transmission.
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
Dependencies
There are no external dependencies for production. :)
There are two deps used on the tests only. Just remove them.
License
Copyright (c) 2025 fahedsl. This project is licensed under the MIT License.