diff --git a/src/lib.rs b/src/lib.rs index fc2105c..3f71fbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -284,9 +284,10 @@ //! In some cases, you might want to split the WebSocket connection into a read half and a write half. //! This can be achieved using the [`WebSocket::split_with`] method, which returns a [`WebSocketRead`] and [`WebSocketWrite`] tuple. //! -//! ### Note -//! +//!
//! Due to the `lazy` nature of the library, splitting the connection will sacrifice the automatic handling of `Ping` and `Close` messages. +//!
+//! //! ``` //! # async fn split() { //! # use websocketz::mock::Noop;