Skip to content

Commit 9d24cd0

Browse files
authored
Merge pull request #438 from shobhitpuri/patch-1
Updated README.md
2 parents 14c7877 + 072b585 commit 9d24cd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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`.
3030
Add 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
138138
opts = new IO.Options();

0 commit comments

Comments
 (0)