blob: 2643fef045612e95bd135f0f8c7bcc252013c1c2 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojo;
import "network/interfaces/net_address.mojom";
import "third_party/mojo/src/mojo/public/interfaces/network/network_error.mojom";
interface HostResolver {
// Get the list of IP addresses for host.
GetHostAddresses(string host, NetAddressFamily family) =>
(NetworkError result, array<NetAddress>? addresses);
};