1- [ ![ Build Status] ( https://travis-ci.org/ck1125 /Java-WebSocket.png ?branch=master )] ( https://travis-ci.org/ck1125/Java-WebSocket )
1+ [ ![ Build Status] ( https://travis-ci.org/marci4 /Java-WebSocket-Dev.svg ?branch=master )] ( https://travis-ci.org/ck1125/Java-WebSocket )
22Java WebSockets
33===============
44
@@ -18,30 +18,19 @@ Implemented WebSocket protocol versions are:
1818[ Here] ( https://github.com/TooTallNate/Java-WebSocket/wiki/Drafts ) some more details about protocol versions/drafts.
1919
2020
21- ##Build
22- You can build using Ant or Maven but there is nothing against just putting the source path ``` src/main/java ``` on your applications buildpath.
21+ ## Build
22+ You can build using Ant but there is nothing against just putting the source path ``` src/main/java ``` on your applications buildpath.
2323
24- ###Ant
24+ ### Ant
2525
2626``` bash
2727ant
2828```
2929
30- will create the javadoc of this library at ``` doc/ ``` and build the library itself: ``` dest /java_websocket.jar```
30+ will create the javadoc of this library at ``` doc/ ``` and build the library itself: ``` dist /java_websocket.jar```
3131
3232The ant targets are: ``` compile ``` , ``` jar ``` , ``` doc ``` and ``` clean ```
3333
34- ###Maven
35-
36- To use maven just add this dependency to your pom.xml:
37- ``` xml
38- <dependency >
39- <groupId >org.java-websocket</groupId >
40- <artifactId >Java-WebSocket</artifactId >
41- <version >1.3.0</version >
42- </dependency >
43- ```
44-
4534Running the Examples
4635-------------------
4736
@@ -83,7 +72,7 @@ connections though HTTP. After that it's up to **your** subclass to add purpose.
8372Writing your own WebSocket Client
8473---------------------------------
8574
86- The ` org.java_websocket.server .WebSocketClient ` abstract class can connect to
75+ The ` org.java_websocket.client .WebSocketClient ` abstract class can connect to
8776valid WebSocket servers. The constructor expects a valid ` ws:// ` URI to
8877connect to. Important events ` onOpen ` , ` onClose ` , ` onMessage ` and ` onIOError `
8978get fired throughout the life of the WebSocketClient, and must be implemented
0 commit comments