pub struct WsIoServerBuilder { /* private fields */ }Implementations§
Source§impl WsIoServerBuilder
impl WsIoServerBuilder
pub fn broadcast_concurrency_limit( self, broadcast_concurrency_limit: usize, ) -> Self
pub fn build(self) -> WsIoServer
pub fn http_request_upgrade_timeout(self, duration: Duration) -> Self
pub fn init_request_handler_timeout(self, duration: Duration) -> Self
pub fn init_response_handler_timeout(self, duration: Duration) -> Self
pub fn init_response_timeout(self, duration: Duration) -> Self
pub fn middleware_execution_timeout(self, duration: Duration) -> Self
pub fn on_close_handler_timeout(self, duration: Duration) -> Self
pub fn on_connect_handler_timeout(self, duration: Duration) -> Self
pub fn packet_codec(self, packet_codec: WsIoPacketCodec) -> Self
pub fn request_path(self, request_path: impl AsRef<str>) -> Self
pub fn websocket_config(self, websocket_config: WebSocketConfig) -> Self
pub fn websocket_config_mut<F: FnOnce(&mut WebSocketConfig)>(self, f: F) -> Self
Auto Trait Implementations§
impl Freeze for WsIoServerBuilder
impl RefUnwindSafe for WsIoServerBuilder
impl Send for WsIoServerBuilder
impl Sync for WsIoServerBuilder
impl Unpin for WsIoServerBuilder
impl UnsafeUnpin for WsIoServerBuilder
impl UnwindSafe for WsIoServerBuilder
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