nicoburns / blessed-rs

A community guide to the Rust ecosystem
934 stars 46 forks source link

Mention frameworks under websockets #74

Open Darksonn opened 2 months ago

Darksonn commented 2 months ago

I think it would be useful to add another category to the websocket section that lists the web frameworks that support websockets. I know that you mention that frameworks often support them above the list, but it is easy to miss. I think it would make it more clear to instead list them under a new category called "As part of a web framework" or similar.

nicoburns commented 2 months ago

Sounds like a good idea. Although I don't actually know which frameworks support websockets, so it will require some research! I would guess that most frameworks do support websockets, but via an extra crate rather than being built-in. So I guess the idea would be link to the relevant crate for each framework?

Darksonn commented 2 months ago

I don't know of the full list either. However, it does appear to be built-in sometimes: axum::extract::ws::WebSocket. (It uses tokio-tungstenite internally.)