what is Request.setTtl(in ttl)

Jan 2, 2013 at 5:19 PM

The method setTtl(int ttl)  in the Request class is not very clear. Anyone have any idea what it is? None of the methods are well documented but one can usually guess what they do from their names. This one I have no idea.


Brian Reinhold

Jan 2, 2013 at 11:32 PM

Hi Brian,

The msg-ttl field no longer serves any purpose and is ignored by HealthVault. 


Jan 3, 2013 at 3:14 PM

So I don't need to set it making my Request? Or must I set it but the value doesn't matter? (The setter is still present in the Request class.)

Jan 3, 2013 at 7:39 PM

You don't need to set it.  The Request has a default value it will use if not set.  HealthVault requires the value to be present, but ignores it!