Proposed Web Service: Simple Online/Offline Status
This web service would determine if the client hardware was online, or offline. This would be useful in cases where you want to do live things like turn on/off stuff via the FB where the web service that controls that needs to know if the machine is online or not.
There should probably be a single method that would be consumed by the client and one for other web services to use.
Method exposed to client:
Method exposed to other web clients:
KeepAlive(string user, string passhash)
In REST it would return something like:
The idea is the client calls KeepAlive every 5-10mins or so and the service keeps tabs on how long since the last "ping". If the KeepAlive "ping" hasn't been fired in a certain timeframe, the client status is updated internally to "offline".
<xml> <status>offline</status> </xml>