1 stable release
Uses old Rust 2015
| 1.0.0 | Apr 22, 2020 |
|---|
#21 in #echo-server
6KB
57 lines
echor
A small CLI that echoes any post requests it receives.
Example Usage
echor will listen for requests to localhost:7000/post by default.
A different path and port can be specified using --path and --port args as shown in the following example:
./echor --path /mypath --port 8080
This will listen for requests on localhost:8080/mypath.
TODO
- Dockerfile
- Take a list of paths to listen on
- Accept different http methods
Dependencies
~7MB
~131K SLoC