Struct pingora_proxy::HttpProxy
source · pub struct HttpProxy<SV> { /* private fields */ }Expand description
The concrete type that holds the user defined HTTP proxy.
Users don’t need to interact with this object directly.
Trait Implementations§
source§impl<SV> HttpServerApp for HttpProxy<SV>
impl<SV> HttpServerApp for HttpProxy<SV>
source§fn process_new_http<'life0, 'life1, 'async_trait>(
self: &'life0 Arc<Self>,
session: HttpSession,
shutdown: &'life1 ShutdownWatch
) -> Pin<Box<dyn Future<Output = Option<Stream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn process_new_http<'life0, 'life1, 'async_trait>(
self: &'life0 Arc<Self>,
session: HttpSession,
shutdown: &'life1 ShutdownWatch
) -> Pin<Box<dyn Future<Output = Option<Stream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn http_cleanup<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<SV> !Freeze for HttpProxy<SV>
impl<SV> !RefUnwindSafe for HttpProxy<SV>
impl<SV> Send for HttpProxy<SV>where
SV: Send,
impl<SV> Sync for HttpProxy<SV>where
SV: Sync,
impl<SV> Unpin for HttpProxy<SV>where
SV: Unpin,
impl<SV> !UnwindSafe for HttpProxy<SV>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more