Skip to content

Websockets on Rocket? #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
catroot opened this issue Oct 3, 2017 · 3 comments
Closed

Websockets on Rocket? #448

catroot opened this issue Oct 3, 2017 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@catroot
Copy link

catroot commented Oct 3, 2017

Hello!
Is there possible to upgrade http connection with Rocket to handle websockets?
Similar to routings like
#[get("/")]
but with
#[ws("/")]

This will be very handy

@belst
Copy link
Contributor

belst commented Oct 3, 2017

see #33

@catroot
Copy link
Author

catroot commented Oct 3, 2017

Thanks for pointing me. Polling and LongPolling is another feature.
My vote is for WS support out of the box.

@SergioBenitez SergioBenitez added the duplicate This issue or pull request already exists label Oct 3, 2017
@SergioBenitez
Copy link
Member

Duplicate of #90.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants