Fork of socketio/engine.io-client-java1.0.2, maintained at ParadiseDevTeam/engine.io-client-java.
- Added
EventThread#setExecutorto run socket callbacks on a caller-suppliedExecutor. - Fixed
ExecutionTestto launch its subprocess viajavadirectly instead ofmvn exec:java. - Updated dependencies to their latest versions (
okhttp,org.json,junit,hamcrest-library). - Migrated the build from Maven (
pom.xml) to Gradle (build.gradle.kts). - Publishes to repo.prdis.me (Reposilite) instead of Maven Central.
repositories {
maven { url = uri("https://repo.prdis.me/releases") }
}
dependencies {
implementation("io.socket:engine.io-client:1.0.2-patch.1")
}Call this once, before opening any Socket, to receive every callback on your own Executor instead of the library's internal one:
EventThread.setExecutor(myExecutor);Pass null to restore the default internal executor. This is a single, process-wide setting shared by every Socket instance in the JVM.
MIT (unchanged from upstream)