// 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. | |
// [START fidl_echo] | |
library fidl.examples.routing.echo; | |
const MAX_STRING_LENGTH uint64 = 64; | |
@discoverable | |
closed protocol Echo { | |
/// Returns the input. | |
strict EchoString(struct { | |
value string:<MAX_STRING_LENGTH, optional>; | |
}) -> (struct { | |
response string:<MAX_STRING_LENGTH, optional>; | |
}); | |
}; | |
// [END fidl_echo] |