// Copyright © 2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Collections.Generic;
namespace CefSharp
{
///
/// Callback interface for
///
public interface IResolveCallback : IDisposable
{
///
/// Called after the ResolveHost request has completed.
///
/// The result code
/// will be the list of resolved IP addresses or
/// empty if the resolution failed.
void OnResolveCompleted(CefErrorCode result, IList resolvedIpAddresses);
///
/// Gets a value indicating whether the callback has been disposed of.
///
bool IsDisposed { get; }
}
}