Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hatoo committed Oct 30, 2024
1 parent 2dfa056 commit 2322521
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async fn main() {
let (res, upgrade) = client.send_request(req).await?;
// println!("{} -> {}", uri, res.status());
println!("{} -> {}", uri, res.status());
if let Some(upgrade) = upgrade {
// If the response is an upgrade, e.g. Websocket, you can see traffic.
// Modifying upgraded traffic is not supported yet.
Expand Down
2 changes: 1 addition & 1 deletion examples/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async fn main() {

let (res, upgrade) = client.send_request(req).await?;

// println!("{} -> {}", uri, res.status());
println!("{} -> {}", uri, res.status());
if let Some(upgrade) = upgrade {
// If the response is an upgrade, e.g. Websocket, you can see traffic.
// Modifying upgraded traffic is not supported yet.
Expand Down
1 change: 0 additions & 1 deletion src/default_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ pub mod websocket {
None
};

dbg!(payload_len);
let mut payload_data = take(payload_len).parse_next(input)?.to_vec();

if let Some(mask) = masking_key {
Expand Down

0 comments on commit 2322521

Please sign in to comment.