pub struct ProxyServer { /* private fields */ }Expand description
A WebSocket proxy server that forwards WebSocket connections to TCP.
Implementations§
Source§impl ProxyServer
impl ProxyServer
Sourcepub fn builder() -> ProxyServerBuilder
pub fn builder() -> ProxyServerBuilder
Create a new builder for configuring a ProxyServer.
Sourcepub fn local_addr(&self) -> SocketAddr
pub fn local_addr(&self) -> SocketAddr
Get the configured listen address.
Auto Trait Implementations§
impl !Freeze for ProxyServer
impl !RefUnwindSafe for ProxyServer
impl Send for ProxyServer
impl Sync for ProxyServer
impl Unpin for ProxyServer
impl UnsafeUnpin for ProxyServer
impl !UnwindSafe for ProxyServer
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