You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Here](https://github.com/TooTallNate/Java-WebSocket/wiki/Drafts) some more details about protocol versions/drafts.
18
18
19
19
20
-
## Build
21
-
You can build using Maven, Gradle or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
20
+
## Getting Started
22
21
23
-
### Maven
22
+
### Dependency management tools
23
+
24
+
Below is a brief guide to using dependency management tools like maven or gradle.
25
+
26
+
#### Maven
24
27
To use maven add this dependency to your pom.xml:
25
28
```xml
26
29
<dependency>
@@ -30,8 +33,8 @@ To use maven add this dependency to your pom.xml:
30
33
</dependency>
31
34
```
32
35
33
-
### Gradle
34
-
To use Gradle add the maven central repository to your repositories list:
36
+
####Gradle
37
+
To use Gradle add the maven central repository to your repositories list:
35
38
```xml
36
39
mavenCentral()
37
40
```
@@ -40,6 +43,20 @@ Then you can just add the latest version to your build.
40
43
compile "org.java-websocket:Java-WebSocket:1.3.9"
41
44
```
42
45
46
+
#### Logging
47
+
48
+
This library uses [SLF4J](https://www.slf4j.org/) for logging and does not ship with any default logging implementation.
49
+
50
+
Exceptions are using the log level `ERROR` and debug logging will be done with log level `TRACE`.
51
+
52
+
Feel free to use whichever logging framework you desire and use the corresponding [binding](https://mvnrepository.com/artifact/org.slf4j) in your dependency management.
53
+
54
+
If you want to get started, take a look at the SimpleLogger [example](https://github.com/TooTallNate/Java-WebSocket/wiki/SimpleLogger-example).
55
+
56
+
### Standalone jar
57
+
58
+
If you do not use any dependency management tool, you can find the latest standalone jar [here](https://github.com/TooTallNate/Java-WebSocket/releases/latest).
59
+
43
60
Writing your own WebSocket Server
44
61
---------------------------------
45
62
@@ -98,7 +115,6 @@ Minimum Required JDK
98
115
99
116
Other JRE implementations may work as well, but haven't been tested.
0 commit comments