render
render copied to clipboard
Add event interface to send ids in event responses
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.