Event stream is a simple stream of text data encoded using UTF-8
Messages in the event stream are separated by a pair of newline characters. A colon as the first character of a line is in essence a comment, and is ignored.
Fields
id- event idevent- the event's typedata- data field for the message, this data is JSON-encodedretry- re-connection time to use when attempting to send the event.
Summary
Types
@type t() :: %Hunter.EventStream{ data: String.t(), event: String.t(), id: String.t(), retry: non_neg_integer() }