https://github.com/trinopoty/socket.io-server-java
Socket.IO Server Library for Java
https://github.com/trinopoty/socket.io-server-java
Last synced: 9 months ago
JSON representation
Socket.IO Server Library for Java
- Host: GitHub
- URL: https://github.com/trinopoty/socket.io-server-java
- Owner: trinopoty
- License: other
- Created: 2018-08-14T15:40:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-14T23:30:58.000Z (about 2 years ago)
- Last Synced: 2025-03-30T07:11:45.435Z (10 months ago)
- Language: Java
- Size: 1.22 MB
- Stars: 187
- Watchers: 8
- Forks: 52
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-java - Socket.IO Java
README
# Socket.IO Java
[](https://travis-ci.org/trinopoty/socket.io-server-java) [](https://codecov.io/gh/trinopoty/socket.io-server-java)
This is the Socket.IO Server Library for Java ported from the [JavaScript server](https://github.com/socketio/socket.io).
**NOTE** This library will follow the major version of the JS library starting with version 3.
See also: [Socket.IO-client Java](https://github.com/socketio/socket.io-client-java)
## Features
This library supports all of the features the JS server does, including events, options and upgrading transport.
## Documentation
Complete documentation can be found [here](https://trinopoty.github.io/socket.io-server-java/).
## Installation
The latest artifact is available on Maven Central.
### Maven
Add the following dependency to your `pom.xml`.
```xml
io.socket
socket.io-server
4.0.1
```
### Gradle
Add it as a gradle dependency in `build.gradle`.
```groovy
compile ('io.socket:socket.io-server:4.0.1')
```
## Demo project
A basic demo project running on a Jetty server can be found at https://github.com/oddmario/socket.io-server-java-demo
## License
Apache 2.0