I’m curious as to what, who and how many people are doing things with web-sockets in Purescript, so i thought i’d make a thread here for that.
I have PureScript app that i’m working on which used to be entirely browser-based and is now going to be partly a NodeJS part and a smaller browser app. Up til now i’ve found websockets-simple
to be sufficient to my needs but altho’ it does have some code to enable it to work in both browser and NodeJS modes, it doesn’t do server sockets.
Under the hood websockets-simple
uses web-socket
but i don’t see anything like new WebSocket.Server({port: nnnnn}
in that library either, so i’m wondering, first of all, is anybody at all creating server sockets in their PureScript NodeJS apps?
And, secondly, i’m interested to hear what libraries people are using, recommending, not-recommending etc