Back

PingListener (clj)

(source)

protocol

A protocol for handling ping websocket events. The second argument is always always an object that satisfies the Socket protocol. This is separate from the Listener protocol as some APIs (for example Jakarta) don't support listening for ping events.

Examples