pub trait WebsocketConnectionExtManual: IsA<WebsocketConnection> + Sealed + 'static {
    // Provided method
    fn new(
        stream: &impl IsA<IOStream>,
        uri: &Uri,
        type_: WebsocketConnectionType,
        origin: Option<&str>,
        protocol: Option<&str>,
        extensions: &[WebsocketExtension]
    ) -> WebsocketConnection { ... }
}

Provided Methods§

source

fn new( stream: &impl IsA<IOStream>, uri: &Uri, type_: WebsocketConnectionType, origin: Option<&str>, protocol: Option<&str>, extensions: &[WebsocketExtension] ) -> WebsocketConnection

Object Safety§

This trait is not object safe.

Implementors§