]> git.mxchange.org Git - flightgear.git/commit
Add a timestamp to JSON properties
authorTorsten Dreyer <torsten@t3r.de>
Wed, 26 Mar 2014 07:51:15 +0000 (08:51 +0100)
committerTorsten Dreyer <torsten@t3r.de>
Wed, 26 Mar 2014 07:51:15 +0000 (08:51 +0100)
commit0dcc8aa34ddd0384bde1d86669c6ce3f2a159e6f
tree371cafbfedfe7e5c9f1db9d844c8b9cd5fe0f3d0
parentf68ae5506813bce7753cb36777c4ded92f917977
Add a timestamp to JSON properties

add special attribute 'ts' to a JSON property reflecting
/sim/time/elapsed-sec

always add timestamp for listener properties
add timestamp for json requests if req param t=y is set
src/Network/http/JsonUriHandler.cxx
src/Network/http/PropertyChangeWebsocket.cxx
src/Network/http/jsonprops.cxx
src/Network/http/jsonprops.hxx