kvarn_extensions::reverse_proxy

Struct ByteProxy

source
pub struct ByteProxy<'a, B: AsyncRead + AsyncWrite + Unpin> { /* private fields */ }
Available on crate feature reverse-proxy only.

Implementations§

source§

impl<'a, B: AsyncRead + AsyncWrite + Unpin> ByteProxy<'a, B>

source

pub fn new(front: &'a mut ResponseBodyPipe, back: &'a mut B) -> Self

source

pub async fn channel(&mut self) -> Result<(), OpenBackError>

Auto Trait Implementations§

§

impl<'a, B> Freeze for BytePr