OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto3"; |
| 6 |
| 7 option optimize_for = LITE_RUNTIME; |
| 8 |
| 9 package blimp; |
| 10 |
| 11 // This message wraps around a serialized set of bytes from a generic message |
| 12 // used above the transport layer. This is intentionally opaque so that the |
| 13 // transport layer does not know the details of the exact type(s) of messages |
| 14 // inside this serialized bytes. |
| 15 message HeliumWrapper { |
| 16 bytes serialized_helium_message = 1; |
| 17 } |
| 18 |
| 19 service HeliumService { |
| 20 // A bi-directional streaming API that sends and receives a |HeliumWrapper| |
| 21 // protobuf message. |
| 22 rpc Stream(stream HeliumWrapper) returns (stream HeliumWrapper) {} |
| 23 } |
OLD | NEW |