WebSocket on Haskell?

Dear cafe, Would you tell me reference sources for WebSocket(or Socket.io) on Haskell? Once I wrote a toy program with WebSocket[1]: Node.js(backend) + JavaScript(frontend) + WebSocket(communication) I want to port it to Haskell backend for my exercise: Haskell(backend) + JavaScript(frontend) + WebSocket(communication) I'm glad if there are such references: * broadcast to multi-client by WebSocket(or Socket.io) * serve a simple top HTML page * deploy to Heroku or public server [1] https://github.com/takenobu-hs/social-drawing-old-js Thank you :-), Takenobu

Hello! Take a look at this package
http://hackage.haskell.org/package/websockets
5:43 после полудня, пн, 27.04.2015, Takenobu Tani
Dear cafe,
Would you tell me reference sources for WebSocket(or Socket.io) on Haskell?
Once I wrote a toy program with WebSocket[1]: Node.js(backend) + JavaScript(frontend) + WebSocket(communication)
I want to port it to Haskell backend for my exercise: Haskell(backend) + JavaScript(frontend) + WebSocket(communication)
I'm glad if there are such references: * broadcast to multi-client by WebSocket(or Socket.io) * serve a simple top HTML page * deploy to Heroku or public server
[1] https://github.com/takenobu-hs/social-drawing-old-js
Thank you :-), Takenobu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Also there are also packages which allow to ease integration this library
with popular web frameworks:
websockets-snap http://hackage.haskell.org/package/websockets-snap
yesod-websockets http://hackage.haskell.org/package/yesod-websockets
wai-websockets http://hackage.haskell.org/package/wai-websockets
пн, 27 апр. 2015 г. в 18:11, Geraldus
Hello! Take a look at this package http://hackage.haskell.org/package/websockets
5:43 после полудня, пн, 27.04.2015, Takenobu Tani
: Dear cafe,
Would you tell me reference sources for WebSocket(or Socket.io) on Haskell?
Once I wrote a toy program with WebSocket[1]: Node.js(backend) + JavaScript(frontend) + WebSocket(communication)
I want to port it to Haskell backend for my exercise: Haskell(backend) + JavaScript(frontend) + WebSocket(communication)
I'm glad if there are such references: * broadcast to multi-client by WebSocket(or Socket.io) * serve a simple top HTML page * deploy to Heroku or public server
[1] https://github.com/takenobu-hs/social-drawing-old-js
Thank you :-), Takenobu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Hi Geraldus,
Thank you for good references!!!
These are nice examples for me.
I'll learn from them:-)
Thank you,
Takenobu
2015-04-27 22:17 GMT+09:00 Geraldus
Also there are also packages which allow to ease integration this library with popular web frameworks:
websockets-snap http://hackage.haskell.org/package/websockets-snap yesod-websockets http://hackage.haskell.org/package/yesod-websockets wai-websockets http://hackage.haskell.org/package/wai-websockets
пн, 27 апр. 2015 г. в 18:11, Geraldus
: Hello! Take a look at this package
http://hackage.haskell.org/package/websockets
5:43 после полудня, пн, 27.04.2015, Takenobu Tani
:
Dear cafe,
Would you tell me reference sources for WebSocket(or Socket.io) on Haskell?
Once I wrote a toy program with WebSocket[1]: Node.js(backend) + JavaScript(frontend) + WebSocket(communication)
I want to port it to Haskell backend for my exercise: Haskell(backend) + JavaScript(frontend) + WebSocket(communication)
I'm glad if there are such references: * broadcast to multi-client by WebSocket(or Socket.io) * serve a simple top HTML page * deploy to Heroku or public server
[1] https://github.com/takenobu-hs/social-drawing-old-js
Thank you :-), Takenobu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

If you want to carry on using socket-io, you might be interested in
https://hackage.haskell.org/package/socket-io.
On Mon, Apr 27, 2015 at 1:43 PM, Takenobu Tani
Dear cafe,
Would you tell me reference sources for WebSocket(or Socket.io) on Haskell?
Once I wrote a toy program with WebSocket[1]: Node.js(backend) + JavaScript(frontend) + WebSocket(communication)
I want to port it to Haskell backend for my exercise: Haskell(backend) + JavaScript(frontend) + WebSocket(communication)
I'm glad if there are such references: * broadcast to multi-client by WebSocket(or Socket.io) * serve a simple top HTML page * deploy to Heroku or public server
[1] https://github.com/takenobu-hs/social-drawing-old-js
Thank you :-), Takenobu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Hi Oliver,
Wow, nice library!
It's very useful for broadcast, command handling and easy connection.
And I like your JSON APIs.
Thank you for your pretty work:-),
Takenobu
2015-04-28 0:07 GMT+09:00 Oliver Charles
If you want to carry on using socket-io, you might be interested in https://hackage.haskell.org/package/socket-io.
On Mon, Apr 27, 2015 at 1:43 PM, Takenobu Tani
wrote: Dear cafe,
Would you tell me reference sources for WebSocket(or Socket.io) on Haskell?
Once I wrote a toy program with WebSocket[1]: Node.js(backend) + JavaScript(frontend) + WebSocket(communication)
I want to port it to Haskell backend for my exercise: Haskell(backend) + JavaScript(frontend) + WebSocket(communication)
I'm glad if there are such references: * broadcast to multi-client by WebSocket(or Socket.io) * serve a simple top HTML page * deploy to Heroku or public server
[1] https://github.com/takenobu-hs/social-drawing-old-js
Thank you :-), Takenobu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (3)
-
Geraldus
-
Oliver Charles
-
Takenobu Tani