Skip to main content

priv/proto/wire.proto

syntax = "proto3";

package proto_channel.wire;

message Envelope {
  Kind kind = 1;
  string join_ref = 2;
  string ref = 3;
  string topic = 4;
  string event = 5;
  string status = 6;
  bytes payload = 7;

  enum Kind {
    KIND_UNSPECIFIED = 0;
    PUSH = 1;
    REPLY = 2;
    BROADCAST = 3;
  }
}