Skip to content

jackkav/nicked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Using httpie I want a 400 response that takes 2 seconds

http :6000/test\?statuscode=400\&wait=200

Using curl I want a 200 response that takes 5 seconds

curl localhost:6000/test\?statuscode=200\&wait=5000

dev

install rustup

cargo build
cargo run

file watcher mode

catflap -- cargo watch -w src -x run

deploy

docker build -t nicked .
docker run -p 6000:6000 --rm --init nicked

About

rust (nickel) server for testing a proxy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published