POST /simulate-bundle
(
config: Config,
)
| 41 | |
| 42 | /// POST /simulate-bundle |
| 43 | pub fn simulate_bundle( |
| 44 | config: Config, |
| 45 | ) -> impl Filter<Extract = (impl Reply,), Error = Rejection> + Clone { |
| 46 | warp::path!("simulate-bundle") |
| 47 | .and(warp::post()) |
| 48 | .and(json_body(&config)) |
| 49 | .and(with_config(config)) |
| 50 | .and_then(simulation::simulate_bundle) |
| 51 | } |
| 52 | |
| 53 | /// POST /simulate-stateful |
| 54 | pub fn simulate_stateful_new( |
no test coverage detected