rawhat / mist

gleam HTTP server. because it glistens on a web
Apache License 2.0
333 stars 12 forks source link

Is there channels for websocket? #55

Closed B-R-P closed 3 months ago

B-R-P commented 4 months ago

How to create channels like in phoenix where clients can connect to a topic and receive messages sent to that topic by other clients?

rawhat commented 3 months ago

This is a lower level library than Phoenix. You would either implement them in your application, or you can look into some pub-sub libraries: https://packages.gleam.run/?search=pubsub