Skip to content

feat(upgrade): Moved HTTP upgrades off Body to a new API#2337

Merged
seanmonstar merged 2 commits intomasterfrom
upgrades-off-body
Nov 20, 2020
Merged

feat(upgrade): Moved HTTP upgrades off Body to a new API#2337
seanmonstar merged 2 commits intomasterfrom
upgrades-off-body

Conversation

@seanmonstar
Copy link
Member

Closes #2086

BREAKING CHANGE: The method Body::on_upgrade() is gone. It is
essentially replaced with hyper::upgrade::on(msg).

@seanmonstar seanmonstar force-pushed the upgrades-off-body branch 2 times, most recently from 42535ef to 2dd10bb Compare November 19, 2020 22:52
BREAKING CHANGE: The method `Body::on_upgrade()` is gone. It is
  essentially replaced with `hyper::upgrade::on(msg)`.
@seanmonstar seanmonstar merged commit 121c331 into master Nov 20, 2020
@seanmonstar seanmonstar deleted the upgrades-off-body branch November 20, 2020 00:36
BenxiangGe pushed a commit to BenxiangGe/hyper that referenced this pull request Jul 26, 2021
…2337)

Closes hyperium#2086

BREAKING CHANGE: The method `Body::on_upgrade()` is gone. It is
  essentially replaced with `hyper::upgrade::on(msg)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move HTTP upgrades API off the Body type

1 participant