netty-socketio Documentation

repository·master·Indexed 27 days ago

https://github.com/mrniko/netty-socketio

An open-source Java implementation of the Socket.IO server built on the Netty framework. It supports Socket.IO-client versions 1.x through 4.x, xhr-polling and websocket transports, namespaces, rooms, and SSL. Features include distributed broadcasting via Redisson or Hazelcast, client stores, and integration with OSGi and Spring.

Tokens
325
Snippets
1
Records
2
Agent score
42%

What's inside netty-socketio

  1. Overview of netty-socketio features

    master

    Netty-socketio is an open-source Java implementation of the Socket.IO server based on the Netty framework. Key features include:

    • Protocol Support: Supports Socket.IO-client versions 1.x through 4.x.
    • Transports: Supports both xhr-polling and websocket transports.
    • Organization: Supports namespaces and rooms.
    • Data Handling: Supports acknowledgments (ack) for received data.
    • Security: Supports SSL.
    • Scalability & Storage: Supports client stores (Memory, Hazelcast, or Redisson) and distributed broadcasting across multiple nodes using Redisson or Hazelcast.
    • Integration: Supports OSGi, Spring, and contains Java module info for JPMS.
    • Concurrency: Lock-free and thread-safe implementation with declarative handler configuration via annotations.
  2. Install netty-socketio via Maven

    master

    To use netty-socketio in your Java project, add the following dependency to your pom.xml file. Note that while the JAR is compatible with Java 8, building the module-info requires Java 11+.

    <dependency>
     <groupId>com.corundumstudio.socketio</groupId>
     <artifactId>netty-socketio</artifactId>
     <version>2.0.13</version>
    </dependency>