pub struct WsProxyHandler {
pub config: WsProxyConfig,
}
Expand description
WebSocket proxy handler for tunneling connections to upstream
Fields§
§config: WsProxyConfig
Implementations§
Source§impl WsProxyHandler
impl WsProxyHandler
Sourcepub fn new(config: WsProxyConfig) -> Self
pub fn new(config: WsProxyConfig) -> Self
Create a new WebSocket proxy handler
Trait Implementations§
Source§impl Clone for WsProxyHandler
impl Clone for WsProxyHandler
Source§fn clone(&self) -> WsProxyHandler
fn clone(&self) -> WsProxyHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for WsProxyHandler
impl RefUnwindSafe for WsProxyHandler
impl Send for WsProxyHandler
impl Sync for WsProxyHandler
impl Unpin for WsProxyHandler
impl UnwindSafe for WsProxyHandler
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