Skip to content

Commit

Permalink
Remove WebSocketUpgrade::max_send_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jul 26, 2023
1 parent 7cac0c1 commit f4abd0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions axum/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

- **breaking:** Remove deprecated `WebSocketUpgrade::max_send_queue`
- **breaking:** The following types/traits are no longer generic over the request body
(i.e. the `B` type param has been removed) ([#1751] and [#1789]):
- `FromRequestParts`
Expand Down
6 changes: 0 additions & 6 deletions axum/src/extract/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ impl<F> std::fmt::Debug for WebSocketUpgrade<F> {
}

impl<F> WebSocketUpgrade<F> {
/// Does nothing, instead use `max_write_buffer_size`.
#[deprecated]
pub fn max_send_queue(self, _: usize) -> Self {
self
}

/// The target minimum size of the write buffer to reach before writing the data
/// to the underlying stream.
/// The default value is 128 KiB.
Expand Down

0 comments on commit f4abd0d

Please sign in to comment.