Skip to main content

Subrequest

Trait Subrequest 

Source
pub trait Subrequest {
    // Required method
    fn process_subrequest<'async_trait>(
        self: Arc<Self>,
        session: Box<HttpSession>,
        sub_req_ctx: Box<SubrequestCtx>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

Source

fn process_subrequest<'async_trait>( self: Arc<Self>, session: Box<HttpSession>, sub_req_ctx: Box<SubrequestCtx>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§

Source§

impl<SV, C> Subrequest for HttpProxy<SV, C>
where SV: ProxyHttp + Send + Sync + 'static, <SV as ProxyHttp>::CTX: Send + Sync, C: Connector,