This library allows Java developers to consume Server Sent Events from a remote API, using OkHttp as the transport layer. The SSE spec is defined here: https://html.spec.whatwg.org/multipage/server-sent-events.html
Starting in version 6.0, this library uses OkHttp 5.x and requires Java 8+ (or Android 5.0+). Versions 2.0 through 5.x use OkHttp 4.x. If you need support for OkHttp 3.x or Java 7, use the latest 1.x version.
We encourage pull requests and other contributions from the community. See Contributing.