1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

Simplify wording

This commit is contained in:
One 2024-07-21 06:10:49 -04:00
parent d00c0f8d17
commit 833ac97775

View File

@ -28,7 +28,7 @@ async fn echo_heartbeat_ws(req: HttpRequest, stream: web::Payload) -> Result<Htt
/// Handshake and start basic WebSocket handler. /// Handshake and start basic WebSocket handler.
/// ///
/// This example is just for demonstration of simplicity. In reality, you likely want to include /// This example is just for simple demonstration. In reality, you likely want to include
/// some handling of heartbeats for connection health tracking to free up server resources when /// some handling of heartbeats for connection health tracking to free up server resources when
/// connections die or network issues arise. /// connections die or network issues arise.
async fn echo_ws(req: HttpRequest, stream: web::Payload) -> Result<HttpResponse, Error> { async fn echo_ws(req: HttpRequest, stream: web::Payload) -> Result<HttpResponse, Error> {