swift-eventsource
swift-eventsource copied to clipboard
Server-sent events (SSE) client implementation in Swift for iOS, macOS, tvOS, and watchOS
Hello, Thank you first for this amazing project. I'm desperately looking for a SSE library in Swift. I have difficulties understanding how to utilise this library in Swift. There is...
I used this package to access the OpenAI API. However, when the response has a status code outside of the range 200-300, an error occurs. The `UnsuccessfulResponseError` object only includes...
`// Tells the delegate that the task finished transferring data. public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) { utf8LineParser.closeAndReset() let currentRetry = eventParser.reset() guard readyState != .shutdown...