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
ReactiveX#205 (Move SSE related classes to http): This is a new implementation of SSE for some optimizations and spec compliance.
ReactiveX#209 (Deprecated all SSE classes in text pkg): SSE is only applicable to HTTP.
ReactiveX#220 (SSE Output confusion): Default case only emits data event.
ReactiveX#222 (Improved SSE API): Better construction semantics.
ReactiveX#30 (Optimized SSE decoder): Rewrite of the existing decoder.
PR #266 reimplements SSE in the package io.reactivex.netty.protocol.http.sse and the following are the primary changes w.r.t this issue:
Default ServerSentEvent constructor only emits a single data event.
ServerSentEvent class provides three create methods withEventIdAndType, withEventType and withEventId to create events with eventId and eventType.
Verified that one can directly write a string on an HttpServer configured to write SSE. This can be done using HttpServerResponse.writeString() method.
Added another method HttpServerResponse.writeBytes() to also write a ByteBuf
Following #220 issue discussion, here is a list of improvements for SSE:
ServerSentEvent
objects creation more flexible:ServerSentEvent
class with data content, orServerSentEvent
(ServerSentEvent.sseData(String data)
,ServerSentEvent.sseWithType(String eventType, String data)
, etc)The text was updated successfully, but these errors were encountered: