/// Tests if the tail is using WebSockets.
Tests if the tail is using WebSockets.
Tests if the tail is using WebSockets .
pub fn is_web_socket(&self) -> bool {
        if let Some(url) = self.url.clone() {
            return matches!(url.scheme(), "ws" | "wss");
        }
        false
    }
pub fn is_web_socket ( & self ) -> bool { if let Some ( url ) = self . url . clone ( ) { return matches ! ( url scheme ( ) " " " " ) ; } false }
Tests if the tail is using WebSockets.
Tests if the tail is using WebSockets .
&self