Websockets in Yesod?

感情迁移 提交于 2019-12-06 22:14:03

问题


I would like to create a website using Yesod and websockets (html5).

Can I use websockets with Yesod webframework?


回答1:


Yes, as Thomas M. DuBuisson pointed out in the comments: a WebSocket handler is implemented in WAI which is the interface Yesod is using to communicate with it's backends. I can't comment on how well it works in it's current form, but you can download and try it from Hackage.



来源:https://stackoverflow.com/questions/10963175/websockets-in-yesod

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!