-
-
Couldn't load subscription status.
- Fork 748
Open
Labels
featureNew feature or requestNew feature or requestrfcExtra attention is neededExtra attention is needed
Description
Hi, I have a question on how to properly use the fs::file Filter.
I'd like to have something like this:
let route = warp::get2()
.and(path!("files" / String))
.and(warp::path::end())
.and_then(get_file_path)
.and_then(|filepath| warp::fs::file(filepath));Where get_file_path would be a Future returning a PathBuf.
Is there any way to achieve this?
Thanks, and great project BTW 😃
shepmaster, Virgiel, MattiasBuelens, Avarel, CodeSteak and 18 more
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestrfcExtra attention is neededExtra attention is needed