summaryrefslogblamecommitdiff
path: root/angelsharkd/src/routes/extensions/simple_deprov.rs
blob: eeb27a039f1acdc1fdef6b6050d00c5d03ae7bc3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                       

                                                                                 




                                                      
 
use warp::{
    body::{content_length_limit, json},
    post, Filter, Rejection, Reply,
};

pub fn filter() -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone {
    warp::path("deprov")
        .and(post())
        .and(content_length_limit(1024 * 16))
        .and(json())
        .map(|_: String| -> &str { todo!() }) // TODO:
}