| // Copyright 2018 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 fidl.examples.echo; |
| |
| [Discoverable] |
| protocol Echo { |
| EchoString(string? value) -> (string? response); |
| }; |
| |
| /// A service with multiple Echo protocol implementations. |
| service EchoService { |
| /// An implementation of `Echo` that prefixes its output with "foo: ". |
| Echo foo; |
| /// An implementation of `Echo` that prefixes its output with "bar: ". |
| Echo bar; |
| }; |