examples icon indicating copy to clipboard operation
examples copied to clipboard

Rocket examples

Open servonlewis opened this issue 4 years ago • 5 comments

Hello all,

Can we please have more examples with rocket?

Similar to actix, with subscriptions and authentication tokens?

servonlewis avatar Apr 01 '21 22:04 servonlewis

Actually the token example should be the same from actix if I'm not mistaken, but the subscription websocket implementation would be great

servonlewis avatar Apr 01 '21 22:04 servonlewis

Sorry, I don't know how to use Rocket. 😁

sunli829 avatar Apr 02 '21 01:04 sunli829

Sorry, I don't know how to use Rocket. 😁

Lol word. Hopefully someone who does can give it a shot.

I really like how rocket is built, but it looks like it doesn't have native websocket support yet, or the thread I read is outdated.

servonlewis avatar Apr 02 '21 03:04 servonlewis

Sorry, I don't know how to use Rocket. 😁

Lol word. Hopefully someone who does can give it a shot.

I really like how rocket is built, but it looks like it doesn't have native websocket support yet, or the thread I read is outdated.

This seems to be the case, and the async support of Rocket has not yet been released.

sunli829 avatar Apr 02 '21 03:04 sunli829

Sorry, I don't know how to use Rocket. 😁

Lol word. Hopefully someone who does can give it a shot.

I really like how rocket is built, but it looks like it doesn't have native websocket support yet, or the thread I read is outdated.

This seems to be the case, and the async support of Rocket has not yet been released.

I hear that. I love this crate, it's incredible. I currently use actix but was looking to transition to rocket once it's async in production.

Is there any plans to increase the amount of examples once that happen and time has passed for learning?

servonlewis avatar Apr 07 '21 23:04 servonlewis