Expand description
HTTP servers as a black box: start the original (or any build) on a port, send the recorded requests in order, and store or compare what it answers.
Structs§
- Http
Config httpinrust/app-cases/rust-anything.json: the app is a server.- Req
- One request, as recorded and as written in an
--inputsline.
Constants§
Functions§
- free_
port - Picks an ephemeral port free on IPv4 loopback and not already bound on IPv6 loopback
(on dual-stack hosts a port free on
127.0.0.1can still be bound on[::1], whichlistening()treats as in use).