spray-websocket
spray-websocket copied to clipboard
Cannot match on PingFrame.
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