Crates.io | mini-web-server |
lib.rs | mini-web-server |
version | 0.1.2 |
source | src |
created_at | 2023-03-05 12:02:04.050581 |
updated_at | 2023-03-05 13:29:31.625151 |
description | A mini HTTP web server that uses a thread pool to respond asynchronously. Not intended for general use. |
homepage | |
repository | https://github.com/codehub-kirans/rust-projects/tree/main/mini-web-server |
max_upload_size | |
id | 801265 |
size | 9,776 |
A mini HTTP web server that uses a thread pool to respond asynchronously.
Supports 2 commandline arguments - threads(no of threads) and port(port number). Default threads is 4 and default port is 7878.
For example to run the server with 10 worker threads listening at port 8787, run the following command -
./mini-web-server 10 8787
mini-web-server is currently licensed under the terms of both the MIT license and the Apache License (Version 2.0).
Thanks,
Kiran S
https://www.kirans.in