Skip to content

Commit a522486

Browse files
Merge pull request #20 from jacek-marchwicki/remove-unused-kubernates
Better example
2 parents 49ab42e + 54a8688 commit a522486

File tree

20 files changed

+21
-95
lines changed

20 files changed

+21
-95
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Currently we use okhttp3 for websocket connection because okhttp3 is simple and
66

77
[![Build Status](https://travis-ci.org/jacek-marchwicki/JavaWebsocketClient.svg?branch=master)](https://travis-ci.org/jacek-marchwicki/JavaWebsocketClient)
88

9+
![Presentation of example](imgs/presentation.gif)
10+
911
## Content of the package
1012

1113
* Example websockets server [python twisted server](websockets-server/README.md)

imgs/presentation.gif

163 KB
Loading

websockets-rxjava-example/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<application
1414
android:allowBackup="true"
15-
android:icon="@drawable/ic_launcher"
15+
android:icon="@mipmap/ic_launcher"
1616
android:label="@string/app_name" >
1717
<activity
1818
android:name=".MainActivity"
19.4 KB
Loading

websockets-rxjava-example/src/main/java/com/appunite/socket/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public RetentionFragment() {
148148
final OkHttpClient okHttpClient = new OkHttpClient();
149149
final RxWebSockets webSockets = new RxWebSockets(okHttpClient, new Request.Builder()
150150
.get()
151-
.url("ws://130.211.87.140:80/ws")
151+
.url("ws://coreos2.appunite.net:8080/ws")
152152
.addHeader("Sec-WebSocket-Protocol", "chat")
153153
.build());
154154
final GsonObjectSerializer serializer = new GsonObjectSerializer(gson, Message.class);
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1.76 KB
Loading

0 commit comments

Comments
 (0)