Skip to content

Commit eb80a12

Browse files
authored
Merge pull request TooTallNate#736 from marci4/master
Change example section
2 parents dd831ce + 955bc86 commit eb80a12

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

README.markdown

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,6 @@ Then you can just add the latest version to your build.
4949
compile "org.java-websocket:Java-WebSocket:1.3.8"
5050
```
5151

52-
Running the Examples
53-
-------------------
54-
55-
**Note:** If you're on Windows, then replace the `:` (colon) in the classpath
56-
in the commands below with a `;` (semicolon).
57-
58-
After you build the library you can start the chat server (a `WebSocketServer` subclass):
59-
60-
``` bash
61-
java -cp build/examples:dist/java_websocket.jar ChatServer
62-
```
63-
64-
Now that the server is started, you need to connect some clients. Run the
65-
Java chat client (a `WebSocketClient` subclass):
66-
67-
``` bash
68-
java -cp build/examples:dist/java_websocket.jar ChatClient
69-
```
70-
71-
The chat client is a simple Swing GUI application that allows you to send
72-
messages to all other connected clients, and receive messages from others in a
73-
text box.
74-
75-
In the example folder is also a simple HTML file chat client `chat.html`, which can be opened by any browser.
76-
7752
Writing your own WebSocket Server
7853
---------------------------------
7954

@@ -96,6 +71,11 @@ in **your** subclass.
9671

9772
An example for a WebSocketClient can be found in both the [wiki](https://github.com/TooTallNate/Java-WebSocket/wiki#client-example) and the [example](https://github.com/TooTallNate/Java-WebSocket/tree/master/src/main/example) folder.
9873

74+
Examples
75+
-------------------
76+
77+
You can find a lot of examples [here](https://github.com/TooTallNate/Java-WebSocket/tree/master/src/main/example).
78+
9979
WSS Support
10080
---------------------------------
10181
This library supports wss.

0 commit comments

Comments
 (0)