Skip to content

Commit

Permalink
Merge pull request #288 from alexheretic/fix-example-doc
Browse files Browse the repository at this point in the history
Fix server-headers example doc
  • Loading branch information
daniel-abramov committed Jun 17, 2023
2 parents 36b9d94 + 4341824 commit 5dada5d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions examples/server-headers.rs
@@ -1,14 +1,14 @@
///! Read/Write headers on server example
///!
///! Run with logs:
///! Linux:
///! ```sh
///! RUST_LOG=debug cargo run --example server-headers
///! ```
///! Windows
///! ```sh
///! cmd /c "set RUST_LOG=debug && cargo run --example server-headers"
///! ```
//! Read/Write headers on server example
//!
//! Run with logs:
//! Linux:
//! ```sh
//! RUST_LOG=debug cargo run --example server-headers
//! ```
//! Windows
//! ```sh
//! cmd /c "set RUST_LOG=debug && cargo run --example server-headers"
//! ```
use tokio::net::{TcpListener, TcpStream};
use tokio_tungstenite::{
accept_hdr_async,
Expand Down

0 comments on commit 5dada5d

Please sign in to comment.