Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.42 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.42 KB

Socket.IO Java

Build Status codecov

This is the Socket.IO Server Library for Java ported from the JavaScript server.

NOTE This library will follow the major version of the JS library starting with version 3.

See also: 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.

Installation

The latest artifact is available on Maven Central.

Maven

Add the following dependency to your pom.xml.

<dependencies>
  <dependency>
    <groupId>io.socket</groupId>
    <artifactId>socket.io-server</artifactId>
    <version>4.0.1</version>
  </dependency>
</dependencies>

Gradle

Add it as a gradle dependency in build.gradle.

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