ruby-eventsource
ruby-eventsource copied to clipboard
Server-Sent Events client for Ruby
When stopping the client its thread continues working for some time. This is not a problem in production, but in tests it is. Webmock removes its stub after the test,...
### Background Recently, I'm working on an SSE client to Tencent LKE interface, which use a POST request and reply SSE AIGC content. `ruby-eventsource` is a good gem to handle...
## Summary This PR adds four enhancements to the SSE client that improve flexibility while maintaining backward compatibility: - **POST/PUT request support**: Enables HTTP methods beyond GET with optional JSON...