nopoll_bool nopoll_conn_send_ping ( noPollConn conn)

Allows to send a ping message over the Websocket connection provided.

The function will not block the caller.

Parameters
connThe connection where the PING operation will be sent.
Returns
nopoll_true if the operation was sent without any error, otherwise nopoll_false is returned.

References nopoll_false, NOPOLL_PING_FRAME, NOPOLL_ROLE_CLIENT, and nopoll_true.