aboutsummaryrefslogtreecommitdiff
path: root/cast/cast_core/api/v2/cast_message.proto
blob: 7257526493e812c0445eeaee4dfe6decdc012b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// **** DO NOT EDIT - this .proto was automatically generated. ****
syntax = "proto3";

package cast.v2;

option optimize_for = LITE_RUNTIME;

// Cast V2 request definition.
message CastMessage {
  // Cast sender ID; distinct from virtual connection source ID.
  string sender_id = 1;
  // Cast namespace.
  string ns = 2;
  // Payload.
  oneof payload {
    string payload_utf8 = 3;
    // NOTE: |payload_binary| is currently unused but is added for potential
    // future compatibility.
    bytes payload_binary = 4;
  }
}

message CastMessageResponse {}