Skip to content

rapidsockets/java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RapidSockets Java SDK

Introduction

This is the official Software Development Kit for Java to interact with the RapidSockets real-time messaging platform.

Installation

tbd

Usage

RapidSockets rs = new RapidSockets();
rs.setKey("your key");

new Subscription(rs)
    .setChannel("user_demo")
    .setCallback(new Callback() {
        @Override
        public void packet(JsonObject packet) {
            super.packet(packet);
            System.out.println(packet.toString());
        }
    })
    .subscribe();

new Message(rs)
    .setChannel("user_demo")
    .setMessage("my_message")
    .publish();

Development specific notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages