pub fn from_partially_read(
        stream: S,
        part: Vec<u8>,
        role: Role,
        config: Option<WebSocketConfig>,
    ) -> Self {
        Self::new(WebSocket::from_partially_read(stream, part, role, config))
    }
/// Convert a raw socket into a WebSocketStream without performing a
/// handshake.
Convert a raw socket into a WebSocketStream without performing a
handshake.
Convert a raw socket into a WebSocketStream without performing a handshake .
pub fn from_partially_read(
        stream: S,
        part: Vec<u8>,
        role: Role,
        config: Option<WebSocketConfig>,
    ) -> Self {
        Self::new(WebSocket::from_partially_read(stream, part, role, config))
    }
pub fn from_partially_read ( stream : S , part : Vec < u8 > , role : Role , config : Option < WebSocketConfig > , ) -> Self { Self :: new ( WebSocket :: from_partially_read ( stream , part , role , config ) ) }
Convert a raw socket into a WebSocketStream without performing a
handshake.
Convert a raw socket into a WebSocketStream without performing a handshake .
stream
S
part
Vec<u8>
role
Role
config
Option<WebSocketConfig>
stream
S
part
Vec<u8>
role
Role
config
Option<WebSocketConfig>