Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Latest commit

 

History

History

README.md

Examples

This directory contains examples of using the maker_web library. Each example is a local function.

List

File: hello_world.rs

A minimal HTTP server that returns "Hello, world!" for all requests.


File: multilingual_greeting.rs

A simple HTTP server that returns "Hello World!" in different languages depending on the first segment of the URL path.


File: request_counter.rs

A simple HTTP server that counts connection requests. Each connection has its own counter.


File: echo.rs

A simple HTTP echo server that returns the url and request body in JSON format.


File: request_inspector.rs

A debug HTTP server that shows detailed information about incoming requests. Returns method, path, headers (if present), and body as JSON


What's Next?

Check the API documentation for complete reference.