blob: 9ef5e4a8b8f45ee4e880a445e62c542f6f6adbb8 [file] [log] [blame]
// Copyright 2022 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.
// [START example_snippet]
{
// Two children: a server and client.
children: [
{
name: "echo_server",
url: "#meta/echo_server.cm",
},
{
name: "echo_client",
url: "#meta/echo_client.cm",
},
],
// Route Echo service from server to client.
offer: [
{
protocol: "examples.routing.echo.Echo",
from: "#echo_server",
to: "#echo_client",
},
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#echo_client",
"#echo_server",
],
},
],
}
// [END example_snippet]