Skip to content

socketio/socket.io-server-java

 
 

Repository files navigation

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

About

Socket.IO Server Library for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.5%
  • JavaScript 4.8%
  • Shell 0.7%