ServerApi provides factory methods to create the data objects sent to the server.
See the Server API tutorial more information.
Members
(static) Types :Object
Properties:
Name | Type | Description |
---|---|---|
Authenticate |
string | The |
Close |
string | The |
Resume |
string | The |
SocketResume |
string | The |
Type:
- Object
Methods
(static) Authenticate(username, password)
Creates the Authenticate object.
Parameters:
Name | Type | Description |
---|---|---|
username |
string | |
password |
string |
(static) Close(session, user)
Creates the Close object.
Parameters:
Name | Type | Description |
---|---|---|
session |
string | |
user |
Object |
(static) Resume()
Creates the Resume object.
(static) SocketResume(session, user)
Creates the SocketResume object.
Parameters:
Name | Type | Description |
---|---|---|
session |
string | |
user |
Object |