-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow closing the connecting by returning
ControlFlow::Break
(#33)
* Specify what should happen when `ControlFlow::Break` is returned * Implement `ControlFlow::Break` for `native_tungstenite` * Add placeholder code for native_tungstenite_tokio backend Not sure how to implement it there * Start work on the web backend * Fix borrow checker stuff * Use the same close logic everywhere * Make `close` non-fallible * Add warnings for tokio backend * Fix warning * Add warning about the tokio backend sucking
- Loading branch information
Showing
6 changed files
with
149 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.