mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 00:33:50 +00:00
17 lines
429 B
Protocol Buffer
17 lines
429 B
Protocol Buffer
syntax = "proto3";
|
|
package web;
|
|
|
|
// Envelope is used to wrap and transend and receive messages between the
|
|
// web client and proxy.
|
|
message Envelope {
|
|
// Version is the version of the protocol.
|
|
string Version = 1;
|
|
|
|
// Type is the type of message. For version 1 of the protocol this must
|
|
// not be longer than 1 character.
|
|
string Type = 2;
|
|
|
|
// Payload is the actual data to send.
|
|
string Payload = 3;
|
|
}
|