ob_get_current_message

March 26, 2020

Name

ob_get_current_message — Utility function to return the current ec_message

Synopsis

#include "modules/delivery/delivery.h"

| ec_message* **ob_get_current_message** ( | connh); |   |

connection_handle * <var class="pdparam">connh</var>;

Description

**Configuration Change. ** This function is available as of Momentum version 3.5.5.

A utility function to return the ec_message that is currently being processed.

Parameters

connh

A connection_handle. For a description of this struct see “connection_handle”.

Return Values

This function returns an ec_message.

Threading

It is legal to call this function in any thread.

See Also

msg_dispose and Momentum for Mobile Push Notifications