pub fn build<F, H>(handshake: F) -> ServerBuilder<St, H, DefaultControlService<St, H::Error>>
    where
        F: IntoServiceFactory<H, Handshake>,
        H: ServiceFactory<Handshake, Response = HandshakeAck<St>>,
    {
        ServerBuilder {
            handshake: handshake.into_factory(),
            handshake_timeout: Seconds(5),
            disconnect_timeout: Seconds(3),
            control: DefaultControlService::default(),
            max_size: 0,
            config: Rc::new(Configuration::default()),
            _t: marker::PhantomData,
        }
    }
/// Start server buldeing process with provided handshake service
Start server buldeing process with provided handshake service
Start server buldeing process with provided handshake service
pub fn build<F, H>(handshake: F) -> ServerBuilder<St, H, DefaultControlService<St, H::Error>>
    where
        F: IntoServiceFactory<H, Handshake>,
        H: ServiceFactory<Handshake, Response = HandshakeAck<St>>,
    {
        ServerBuilder {
            handshake: handshake.into_factory(),
            handshake_timeout: Seconds(5),
            disconnect_timeout: Seconds(3),
            control: DefaultControlService::default(),
            max_size: 0,
            config: Rc::new(Configuration::default()),
            _t: marker::PhantomData,
        }
    }
pub fn build < F , H > ( handshake : F ) -> ServerBuilder < St , H , DefaultControlService < St , H :: Error > > where F : IntoServiceFactory < H , Handshake > , H : ServiceFactory < Handshake , Response = HandshakeAck < St > > , { ServerBuilder { handshake : handshake . into_factory ( ) , handshake_timeout : Seconds ( 5 ) , disconnect_timeout : Seconds ( 3 ) , control : DefaultControlService :: default ( ) , max_size : 0 , config : Rc :: new ( Configuration :: default ( ) ) , _t : marker :: PhantomData , } }
Start server buldeing process with provided handshake service
Start server buldeing process with provided handshake service
handshake
F
handshake
F