| // 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.net; | |
| [Discoverable] | |
| protocol Connectivity { | |
| /// This is triggered on a state change in network reachability. Clients | |
| /// should expect that network requests will succeed when `reachable` is | |
| /// true. | |
| -> OnNetworkReachable(bool reachable); | |
| }; |