File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Add the following dependency to your `pom.xml`.
2121 <dependency >
2222 <groupId >io.socket</groupId >
2323 <artifactId >socket.io-client</artifactId >
24- <version >0.8.3 </version >
24+ <version >0.9.0 </version >
2525 </dependency >
2626</dependencies >
2727```
@@ -30,7 +30,7 @@ Add the following dependency to your `pom.xml`.
3030Add it as a gradle dependency for Android Studio, in ` build.gradle ` :
3131
3232``` groovy
33- compile ('io.socket:socket.io-client:0.8.3 ') {
33+ compile ('io.socket:socket.io-client:0.9.0 ') {
3434 // excluding org.json which is provided by Android
3535 exclude group: 'org.json', module: 'json'
3636}
@@ -131,8 +131,8 @@ OkHttpClient okHttpClient = new OkHttpClient.Builder()
131131 .build();
132132
133133// default settings for all sockets
134- Socket . setDefaultOkHttpWebSocketFactory(okHttpClient);
135- Socket . setDefaultOkHttpCallFactory(okHttpClient);
134+ IO . setDefaultOkHttpWebSocketFactory(okHttpClient);
135+ IO . setDefaultOkHttpCallFactory(okHttpClient);
136136
137137// set as an option
138138opts = new IO .Options ();
You can’t perform that action at this time.
0 commit comments