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

Cannot match on PingFrame. #83

Open
dbousamra opened this issue Nov 6, 2015 · 0 comments
Open

Cannot match on PingFrame. #83

dbousamra opened this issue Nov 6, 2015 · 0 comments

Comments

@dbousamra
Copy link

I want to respond to a PingFrame manually. The current implementation auto responds with a PongFrame. I'd like to respond with extra status information. At the moment, I can achieve this just using my own case classes wrapped around TextFrames.

https://github.com/smootoo/simple-spray-websockets/blob/1bc54f0e7ae681c4e11628094d097de24995014e/src/main/scala/spray/can/websocket/WebSocketFrontend.scala#L64

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

No branches or pull requests

1 participant