let hello = warp::path!("hello" / String) .and(warp::any().map(move || validator.clone())) .and(warp::addr::remote()) .and_then(response); warp::serve(hello).run(([127, 0, 0, 1], 3030)).await;
let hello = warp::path!("hello" / String) .and(warp::any().map(move || validator.clone())) .and(warp::addr::remote()) .and_then(response); warp::serve(hello).run(([127, 0, 0, 1], 3030)).await;