mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Add chat example documentation. (#85)
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
//! Example chat application.
|
||||
//!
|
||||
//! Run with
|
||||
//!
|
||||
//! ```
|
||||
//! cargo run --features=ws --example chat
|
||||
//! ```
|
||||
|
||||
use std::collections::HashSet;
|
||||
use std::net::SocketAddr;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
Reference in New Issue
Block a user