noPollCtx * myqtt_web_socket_get_ctx ( MyQttCtx ctx)

Allows to return the noPollCtx object associated to the provided connection.

Parameters
ctxThe MyQttCtx for which we want access to the noPollCtx object.
Returns
A reference to the associated noPollCtx or NULL if it fails.

References myqtt_ctx_get_data(), myqtt_ctx_set_data_full(), myqtt_mutex_lock(), and myqtt_mutex_unlock().