当通过mpns向window发送通知时,它通常以http头响应"X-DeviceConnectionStatus=Inactive"!在窗口手机中发生了什么,使得mpns响应像这样?我应该重新发送通知吗?
发布于 2013-05-23 18:54:39
here中仅简要介绍了Inactive状态。他们只将其声明为一种可能的状态,而没有具体说明它的含义。
"X-DeviceConnectionStatus"":"1*DeviceConnectionStatusValue
DeviceConnectionStatusValue =字符串
(Connected|InActive|Disconnected|TempDisconnected) //例如:
X-DeviceConnectionStatus:已连接
我在其他地方读到,它意味着The MPNS cannot determine if a device is off or has no internet connection. It looks the same to the MPNS (the device cannot be contacted).,因此我会将其视为与Disconnected相同,即尝试重新发送通知,但不要太频繁。
https://stackoverflow.com/questions/16709972
复制相似问题