rawhat / mist

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

Websocket example does not show how to implement a websocket handler #12

Closed lpil closed 1 year ago

lpil commented 1 year ago

Hello!

The current websocket example shows how to route based upon method and path, and also how to include a pre-existing websocket handler in those routes. I think it would be useful to instead omit the routing and show how to make a custom websocket handler, the routing can be taken from the routing examples.

Thanks, Louis

lpil commented 1 year ago

Closing in favour of #13 , thanks!