Crate headless[−][src]
Expand description
This runs a simulation without any graphics and serves a very basic API to control things. See https://a-b-street.github.io/docs/tech/dev/api.html for documentation. To run this:
cd headless; cargo run – –port=1234 curl http://localhost:1234/sim/get-time 00:00:00.0 curl http://localhost:1234/sim/goto-time?t=01:01:00 it’s now 01:01:00.0 curl http://localhost:1234/data/get-road-thruput … huge JSON blob