An event.
An event.
the event payload.
the event type (optional).
the event id (optional).
Decode the string event payload as a value of type A.
Encode the event payload as a string (utf-8).
Provides default EventDecoders.
Provides default EventEncoders.
(Since version ) see corresponding Javadoc for more information.
Support for Server Sent Events content. It allows a server to stream events to a client. Events are string (utf-8) encoded, and a proper
EventEncoder
orEventDecoded
must be available for your event payload type.