5.2.0 • Published 3 months ago

brainclouds2s v5.2.0

Weekly downloads
20
License
ISC
Repository
github
Last release
3 months ago

brainclouds2s-node

brainCloud S2S client Node JS library

var brainclouds2s = require('brainclouds2s');

// Fill in your needed app info
appId = "00000";
serverName = "myServerName";
serverSecret = "aaaaaaaa-bbbb-0000-cccc-111111111111";

var S2S = {}
S2S.context = brainclouds2s.init(appId, serverName, serverSecret);

// Example S2S Call
brainclouds2s.request(S2S.context, {
    service: "lobby",
    operation: "SYS_ROOM_ASSIGNED",
    data: {
        lobbyId: "...",
        connectInfo: {
            roomId: "...",
            url: "...",
            port: "...",
            wsPort: "..."
        }
    }
});

Config Info

App Id is viewable on the Design | Core App Info | Application IDs page.

Server Name and Server Secret can be set on the Design | Core App Info | S2S Config page.

Server Example

An example of creating a S2S connection with brainCloud can be found with the Warstone example, in the rsm folder.

API Reference

Additional documentation on the S2S calls can be found here.

5.2.0

3 months ago

4.15.0

10 months ago

5.1.0

6 months ago

4.15.1

9 months ago

5.0.0

8 months ago

4.14.0

1 year ago

4.13.0

2 years ago

4.11.0

2 years ago

4.12.0

2 years ago

4.12.1

2 years ago

4.10.0

2 years ago

4.9.0

3 years ago

4.8.1

3 years ago

4.8.0

3 years ago

4.7.0

3 years ago

4.6.0

4 years ago

4.5.6

4 years ago

4.5.5

4 years ago

4.5.1

4 years ago

4.5.0

4 years ago

4.4.0

4 years ago

4.3.0

5 years ago

4.2.0

5 years ago

4.1.3

5 years ago

4.1.2

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

3.11.0

5 years ago

3.10.1

5 years ago

3.10.0

5 years ago

3.9.0

6 years ago