Suggestions

close search

StringeeClient

Represents a Stringee client.
The first step in using Stringee Website SDK is to initialize a StringeeClient instance by calling the StringeeClient() constructor. Then connects to Stringee server by calling connect, pass in the access token. For test purposes, you can generate the test token in Dashboard -> Tools -> Generate Access token.

Constructors


StringeeClient()

Creates a new StringeeClient instance.

Properties


accessToken

The access token generated by your server.

Methods


connect(accessToken)

Connects to Stringee server, using provided access token.

disconnect()

Disconnects from Stringee server.

sendCustomMessage(userId, data, callback)

Sends any data to other clients.

- userId: String
- data: Object