WebAPI/PresentationAPI:Protocol Draft: Difference between revisions

Jump to navigation Jump to search
→‎Close Connection: encrypt close message
(→‎Device Pairing: update detail for device pairing)
(→‎Close Connection: encrypt close message)
Line 108: Line 108:
* STEP 1: controlling page or presented content initiate connection.close()
* STEP 1: controlling page or presented content initiate connection.close()
* STEP 2: sending close command to remote device, with closeReason = "closed"
* STEP 2: sending close command to remote device, with closeReason = "closed"
* STEP 3: close data channel while receiving close command
* STEP 3: close data channel while receiving close command (close command should be encrypted and carry in encrypted-ctrl-msg command)
* STEP 4: notify onclose event to both controlling page and presented content
* STEP 4: notify onclose event to both controlling page and presented content
[[File:Draft Protocol Close Connection.png]]
[[File:Draft Protocol Close Connection.png]]
Confirmed users
216

edits

Navigation menu