// Copyright 2020 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 fuchsia.examples.inspect; | |
// [START reverser_fidl] | |
// Implementation of a string reverser. | |
@discoverable | |
protocol Reverser { | |
// Returns the input string reversed character-by-character. | |
Reverse(struct { | |
input string:1024; | |
}) -> (struct { | |
response string:1024; | |
}); | |
}; | |
// [END reverser_fidl] |