pub async fn inspect_wrapper<GH: Grasshopper>(
    logs: Logs,
    configpath: String,
    raw: RawRequest<'_>,
    mgh: Option<GH>,
) -> CFDecision {
    let mut mlogs = logs;
    let (decision, tags, reqinfo) = inspect_generic_request_map_async(&configpath, mgh, raw, &mut mlogs).await;
    CFDecision {
        decision,
        tags,
        logs: mlogs,
        reqinfo,
    }
}
/// Simple wrapper to return the reqinfo data
Simple wrapper to return the reqinfo data
Simple wrapper to return the reqinfo data
pub async fn inspect_wrapper<GH: Grasshopper>(
    logs: Logs,
    configpath: String,
    raw: RawRequest<'_>,
    mgh: Option<GH>,
) -> CFDecision {
    let mut mlogs = logs;
    let (decision, tags, reqinfo) = inspect_generic_request_map_async(&configpath, mgh, raw, &mut mlogs).await;
    CFDecision {
        decision,
        tags,
        logs: mlogs,
        reqinfo,
    }
}
pub async fn inspect_wrapper < GH : Grasshopper > ( logs : Logs , configpath : String , raw : RawRequest < ' _ > , mgh : Option < GH > , ) -> CFDecision { let mut mlogs = logs ; let ( decision , tags , reqinfo ) = inspect_generic_request_map_async ( & configpath , mgh , raw , & mut mlogs ) . await ; CFDecision { decision , tags , logs : mlogs , reqinfo , } }
Simple wrapper to return the reqinfo data
Simple wrapper to return the reqinfo data
logs
Logs
configpath
String
raw
RawRequest<'_>
mgh
Option<GH>