Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 824 Bytes

File metadata and controls

40 lines (34 loc) · 824 Bytes

Request/Reply server extensions

Connect as supervisor

Sent by supervisor client. Connect to server and enter the list of supervisors:

{
    "clientId": "<unique id string>",
    "name": "<name>",
    "startSupervising": true
}

Expected response from server: {}

Change status

Sent by supervisor client. Change client status:

{
    "clientId": "<unique id string>",
    "status": "<status>"
}

Expected response from server: {}

Help next in queue

Sent by supervisor client. Tells server that supervisor wants to help next in queue:

{
    "clientId": "<unique id string>",
    "name": "<name>",
    "message": {"recipient": null, "body": "<message content>"}
}

Recipient gets filled in by server before being sent out on broadcast channels. Expected response from server: {}