WebAPI/PresentationAPI:Protocol Draft: Difference between revisions

Jump to navigation Jump to search
m
→‎Close Connection: update description
m (→‎Terminate Presentation: update description)
m (→‎Close Connection: update description)
Line 108: Line 108:


=== Close Connection ===
=== Close Connection ===
* STEP 1: controlling page or presented content initiate connection.close()
* STEP 1: controlling page initiate connection.close()
* STEP 2: sending close command to remote device, with closeReason = "closed"
* STEP 2: sending close command to server, with closeReason = "closed"
* STEP 3: close data channel while receiving close command (close command should be encrypted and carry in encrypted-ctrl-msg 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
Confirmed users
216

edits

Navigation menu