Sets a handler on a Ping message to be invoked when the corresponding Pong message is received.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Framework
- Network
Declaration
void nw_ws_metadata_set_pong_handler(nw _protocol _metadata _t metadata, dispatch _queue _t client_queue, nw _ws _pong _handler _t pong_handler);