play-co / hookbox

HookBox is a Comet server and message queue that tightly integrates with your existing web application via web hooks and a REST interface.
http://hookbox.org
MIT License
284 stars 23 forks source link

Add datetimes to publish/(un)subscribe events and history #28

Open mcarter opened 14 years ago

mcarter commented 14 years ago

Hookbox should keep track of when these events happen.

The connect frame should require javascript to send the current datetime according to the client, and hookbox's reply should include the time differential between the client and server. The hookbox js client should then modify all datetimes on events by adding the time differential.

mcarter commented 14 years ago

There are datetimes on all events and in the history; however the time differential handshake has not been added, so all datetimes will be in the timezone of the hookbox server.