Skip to main content
Version: 5.8.0

SysRoomSessionEnded

Indicates that the given server instance has ended.

ServiceOperation
roomServerSYS_ROOM_SESSION_ENDED

Method Parameters

ParameterDescription
serverIdThe room server instance id.
serverContextJSON object containing server context data. Note that serverContext must contain an entry for SERVER_TYPE (currently only 'Hosted' or 'EdgeGap' are supported) and a CONTAINER_KEY entry (provided via the SERVER_CONTEXT env variable when the server instance is launched).

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status" : 200,
"data" : {}
}