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 authored 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
Original file line number Diff line number Diff line change
@@ -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.