Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Servant-Pipes for streaming endpoints #9

Open
therewillbecode opened this issue Feb 29, 2020 · 0 comments
Open

Use Servant-Pipes for streaming endpoints #9

therewillbecode opened this issue Feb 29, 2020 · 0 comments
Labels

Comments

@therewillbecode
Copy link
Owner

therewillbecode commented Feb 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant