You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the connection is successful but the returned LastEventId is also 0 and i continuously get "Subscriber disconnected" + "New subscriber" + a new {"id":"urn:uuid:36d883aa-4015-4241-aaae-bde887c2662e","last_event_id":"0" .....
so please How to set the first LastEventId so it will return a random value instead of what i gave ?
The text was updated successfully, but these errors were encountered:
At least is it possible to get the ":" heartbeat i receive each 30 seconds (the : of chrome eventstream), to update a timestamp "last_seen" SQL field in users table in the php side ? (But without POSTing again this event via ajax)
Hi,
I'm trying to avoid the "Subscriber disconnected" + "New subscriber" after each page change.
As I read in the docs, i need to send first a LastEventId query parameter to get one then reuse it to avoid loosing connection.
"When the request contains a Last-Event-ID HTTP header or a lastEventID query parameter the hub MUST set a Last-Event-ID header on the HTTP response"
I tried to set 0 as value of the LastEventId
the connection is successful but the returned LastEventId is also 0 and i continuously get "Subscriber disconnected" + "New subscriber" + a new {"id":"urn:uuid:36d883aa-4015-4241-aaae-bde887c2662e","last_event_id":"0" .....
so please How to set the first LastEventId so it will return a random value instead of what i gave ?
The text was updated successfully, but these errors were encountered: