ech

Crates.ioech
lib.rsech
version0.0.4
sourcesrc
created_at2021-11-09 02:51:00.557018
updated_at2021-12-04 03:54:17.096514
descriptionTake in a TCP / HTTP request and return the raw request in the body, and log to stdout. No dependencies
homepage
repositoryhttps://github.com/jackos/ech
max_upload_size
id478726
size3,208
Jack Clayton (jackos)

documentation

https://docs.rs/ech/

README

ech

Quickstart

Download and install ech from crates.io

cargo install ech

Runs ech on port 8000

ech 8000

Choose a random available port to run on

ech

Use

Simply returns any request back to the caller with a HTTP/1.1 200 OK response code and logs it to stdout, giving the full raw TCP stream as text.

Helpful when debugging a poorly documented application making unknown requests, point it to the port ech is running on and see exactly what is being sent out.

Commit count: 6

cargo fmt