Methods
getApp(socket) → {Message}
getApp - Return the app with identifier data.appId.
Parameters:
Name | Type | Description |
---|---|---|
data.appId |
String | Identifier of the app. |
socket |
Socket | The socket which asked for the app. |
- Source:
Returns:
A message object, which includes callback (cb) and data fields.
- Type
- Message
getAppMetadatas(cb, socket) → {Message}
getAppMetadatas - Get an array of the app metadatas found on the server.
Parameters:
Name | Type | Description |
---|---|---|
cb |
String | The callback to execute when returning the metadatas to the client. |
socket |
Socket | The socket which asked for the data. |
- Source:
Returns:
A message object, which includes callback (cb) and data fields.
- Type
- Message
sessionAddApp(d) → {type}
sessionAddApp - Add an app to the given session.
Parameters:
Name | Type | Description |
---|---|---|
d |
Object | An object containing the session ID (sId), the app id (appPath), and options for the app (options). |
- Source:
Returns:
- Type
- type