poker-maison icon indicating copy to clipboard operation
poker-maison copied to clipboard

Use Servant-Pipes for streaming endpoints

Open therewillbecode opened this issue 6 years ago • 0 comments

Right now there are two separate APIs the socket server for game logic and the Servant API for authentication logic.

Servant-pipes library should be used so that we can remove the socket server all together and just create a streaming endpoint in the Servant API.

An example can be seen here.

https://github.com/haskell-servant/servant/blob/master/servant-pipes/example/Main.hs

therewillbecode avatar Feb 29 '20 13:02 therewillbecode