Skip to content

Add event interface to send ids in event responses#17

Open
beornf wants to merge 1 commit intogo-chi:masterfrom
beornf:event-stream-id
Open

Add event interface to send ids in event responses#17
beornf wants to merge 1 commit intogo-chi:masterfrom
beornf:event-stream-id

Conversation

@beornf
Copy link

@beornf beornf commented Feb 12, 2019

As per the server sent events spec the ID field is sent to help streaming messages back from the last event ID when retrying failed connections. I've added an event interface that when satisfied with GetID() appends the ID to the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant