msys.httpclnt.http_status_classifier

March 26, 2020 Contributors

Name

msys.httpclnt.http_status_classifier — Determine the delivery status of the "DLV_Response_Status" variable

Synopsis

require('msys.httpclnt');
require('msys.delivery');

msys.httpclnt.http_status_classifier(status);

status: numeric

Description

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

This function returns the delivery status of the "DLV_Response_Status" variable. It classifies the "DLV_Response_Status" variable as one of the following:

  • msys.delivery.DELIVERY_SUCCESS

  • msys.delivery.DELIVERY_PERMFAILED

Use this function in the http_response_eval callout.

See Also

Momentum for Mobile Push Notifications, msys.gcm.gcm_classify_error and msys.apn.apn_status_classifier.