This project is read-only.

WNS Response

When you perform a send, the WNS always send you a response and each of them contains a code and customs header fields.

You can check this link for the response list.

NOTE: Some custom header responses need the X-WNS-RequestForStatus field in request header.

However, the send methods return an array with two fields:

1.  “WNS” => array with response header

2.  “response” => the response code


Checking the response code, you can choose the script flow and the service behavior.


So you can use it in this way

$response = $Notifier->Send($cha,WindowsNotification\TemplateToast::ToastText01("Hello!!!!"));

Last edited May 16, 2015 at 4:49 PM by Andreabbondanza, version 3