Use something smarter than Show/Read
for the websockets protocol
#409
Labels
Projects
Show/Read
for the websockets protocol
#409
I just tried to use
Data.Serialize
with generic deriving, but am stuck. WhileNetwork.WebSockets
(the server side) has no problems sending binary data (as aByteString
) over the wire, the corresponding support in ghcjs, at https://github.com/ghcjs/ghcjs-base/blob/master/JavaScript/Web/MessageEvent.hs, seems to be shaky. I might get aBlob
out, but I do not see how to get aByteString
out.I think I was at this point before, so I record this here.
Either I need to figure out how to work with
ByteString
in GHCJS, or use a different serialization library which targetsData.Text
.The text was updated successfully, but these errors were encountered: