Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions specs/relay-v1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ messages:
2. ResponseAlreadyConnected - Session is full (both sides already connected)
3. ResponseSuccess - You have successfully joined the session
4. RelayFull - Relay limits are too strict for you to be able to join the session.

The relay immediately terminates the connection after sending this.
The relay immediately terminates the connection after sending this.

After the successful response, all the bytes written and received will be
relayed between the two devices in the session directly.
Expand Down Expand Up @@ -288,11 +287,14 @@ Response message (Type = 4)
Message associated with the code.

.. Protocol defined responses:
1. ResponseSuccess = Response{0, "success"}
2. ResponseNotFound = Response{1, "not found"}
3. ResponseAlreadyConnected = Response{2, "already connected"}
4. ResponseInternalError = Response{99, "internal error"}
5. ResponseUnexpectedMessage = Response{100, "unexpected message"}

::

ResponseSuccess = Response{0, "success"}
ResponseNotFound = Response{1, "not found"}
ResponseAlreadyConnected = Response{2, "already connected"}
ResponseInternalError = Response{99, "internal error"}
ResponseUnexpectedMessage = Response{100, "unexpected message"}

ConnectRequest message (Type = 5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down