| // Copyright 2019 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| library test.ping; | |
| alias PingString = string:100; | |
| alias PongString = string:105; | |
| @discoverable | |
| protocol Ping { | |
| /// Returns a string that is the concatenation of the input `ping` | |
| /// a space and the string "pong". | |
| Ping(struct { | |
| ping PingString; | |
| }) -> (struct { | |
| pong PongString; | |
| }); | |
| }; |