Go to file
Sean McArde ba76de34f5 Added readme. Good for me. 2023-11-22 14:15:21 -08:00
src removed dead line 2023-11-22 14:14:44 -08:00
.gitignore Initial commit. Still not http action. 2023-11-20 17:51:01 -08:00
Cargo.lock Removed unused dependency. 2023-11-22 14:15:11 -08:00
Cargo.toml Removed unused dependency. 2023-11-22 14:15:11 -08:00
readme.md Added readme. Good for me. 2023-11-22 14:15:21 -08:00

readme.md

httpq

Dumb simple http message queue for passing values between scripts. It's very useful but will currently let you shoot your foot off. There's no queue size limits, no retry after, probably a bug in the locking, but it does mostly work.

Queues are named by the path: /<queue name>. Content is the text body of a POST. A GET against the same path will return the messages in order. GET requests against / return queue stats:

Total queues: 2
Counts: {"bar": 0, "foo": 12}

It listens on port 8000 by default. This can be changed with an environment variable:

$ ROCKET_PORT=8888 ./httpq

PS>  $env:ROCKET_PORT=8888; .\httpq.exe

cmd> set ROCKET_PORT=8888
cmd> .\httpq.exe