Added the configuration option urlSessionConfiguration to EventSource.Config which allows setting the URLSessionConfiguration used by the EventSource to create URLSession instances.
Fixed
Fixed a retain cycle issue when the stream connection is ended.
Removed deprecated VALID_ARCHS build setting from Xcode project.
Unterminated events will no longer be dispatched when the stream connection is dropped.
Stream events that set the lastEventId will now record the updated lastEventId even if the event does not generate a MessageEvent.
Empty stream "data" fields will now always record a newline to the resultant MessageEvent data.
Empty stream "event" fields will result in now result in the default "message" event type rather than an event type of "".
[1.3.0] - 2022-01-18
Added
urlSessionConfiguration
toEventSource.Config
which allows setting theURLSessionConfiguration
used by theEventSource
to createURLSession
instances.Fixed
VALID_ARCHS
build setting from Xcode project.lastEventId
will now record the updatedlastEventId
even if the event does not generate aMessageEvent
.MessageEvent
data.