Closed apersomany closed 6 months ago
Making Pending, pending, and Pending::fulfill public allows external libraries to provide the OnUpgrade extension to HTTP server frameworks (such as Axum or Warp) that solely depend on Hyper's upgrade mechanism.
Pending
pending
Pending::fulfill
OnUpgrade
Thanks for the PR!
I'm hesitant to make the other parts of this public. It sorta reveals that the internals are a channel, and we'd thus need to maintain that forever.
I see. Let me close the PR for now.
Making
Pending
,pending
, andPending::fulfill
public allows external libraries to provide theOnUpgrade
extension to HTTP server frameworks (such as Axum or Warp) that solely depend on Hyper's upgrade mechanism.