nicoburns / blessed-rs

A community guide to the Rust ecosystem
https://blessed.rs
1.16k stars 64 forks source link

Mention frameworks under websockets #74

Open Darksonn opened 1 year ago

Darksonn commented 1 year 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 1 year 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 1 year 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.)