aboutsummaryrefslogtreecommitdiff
path: root/cast/cast_core/api/v2/runtime_message_port_application_service.proto
blob: 9687fe500bce7d62cc946a17107c64acb7898674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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 file was automatically generated. ****
syntax = "proto3";

package cast.v2;

import "cast/cast_core/api/web/message_channel.proto";

option optimize_for = LITE_RUNTIME;

// This service runs in the runtime for a particular app. It uses a MessagePort
// to communicate with Cast Core.
service RuntimeMessagePortApplicationService {
  // "MessageConnectorService" provides the transport for MessagePorts.
  // MessagePorts are connected using other services (e.g. ApiBindings), then
  // registered with the MessageConnectorService to communicate over IPC
  rpc PostMessage(cast.web.Message) returns (cast.web.MessagePortStatus);
}