jaspervdj / websockets

A Haskell library for creating WebSocket-capable servers
http://jaspervdj.be/websockets
BSD 3-Clause "New" or "Revised" License
405 stars 112 forks source link

Request: Expose Network.WebSockets.Types module #202

Open Quantumplation opened 4 years ago

Quantumplation commented 4 years ago

Is there a reason this is private?

For my project, I thought it would be nice to add an

instance (FromJSON a, ToJSON a) => WebSocketsData a where

so that I could send and receive with an automatic JSON parse.