Skip to content

Commit

Permalink
remove deprecated Server::poll_close (hyperium#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar authored and 0xE282B0 committed Jan 11, 2024
1 parent 8e72966 commit 367b82b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,6 @@ where
self.connection.poll(cx).map_err(Into::into)
}

#[doc(hidden)]
#[deprecated(note = "renamed to poll_closed")]
pub fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<(), crate::Error>> {
self.poll_closed(cx)
}

/// Sets the connection to a GOAWAY state.
///
/// Does not terminate the connection. Must continue being polled to close
Expand Down

0 comments on commit 367b82b

Please sign in to comment.