spray-websocket icon indicating copy to clipboard operation
spray-websocket copied to clipboard

Cannot match on PingFrame.

Open dbousamra opened this issue 10 years ago • 0 comments

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

dbousamra avatar Nov 06 '15 01:11 dbousamra