Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance Method

onPing(_:)

Deprecated

Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.

@preconcurrency func onPing(_ callback: @escaping @Sendable (WebSocket) async -> ())