diff options
Diffstat (limited to 'remoting/proto')
-rw-r--r-- | remoting/proto/control.proto | 11 | ||||
-rw-r--r-- | remoting/proto/internal.proto | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto index 888c0b0..2d2baf6 100644 --- a/remoting/proto/control.proto +++ b/remoting/proto/control.proto @@ -66,3 +66,14 @@ message PairingResponse { // Shared secret for this client. optional string shared_secret = 2; } + +message ExtensionMessage { + // The message type. This is used to dispatch the message to the correct + // recipient. + optional string type = 1; + + // String-encoded message data. The client and host must agree on the encoding + // for each message type; different message types need not shared the same + // encoding. + optional string data = 2; +}
\ No newline at end of file diff --git a/remoting/proto/internal.proto b/remoting/proto/internal.proto index 219e3ef..6ae35f4 100644 --- a/remoting/proto/internal.proto +++ b/remoting/proto/internal.proto @@ -24,6 +24,7 @@ message ControlMessage { optional Capabilities capabilities = 6; optional PairingRequest pairing_request = 7; optional PairingResponse pairing_response = 8; + optional ExtensionMessage extension_message = 9; } // Defines an event message on the event channel. |