| // 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 fuchsia.xi; | |
| [Discoverable] | |
| protocol Json { | |
| // Connect a socket, which then has the same behavior as stdin/stdout in | |
| // Unix/Windows. Note that this used to also have a ledger connection (for | |
| // multi-device sync), but that needs to be handled a different way. | |
| ConnectSocket(handle<socket> sock); | |
| }; |