//-----------------------------------------------------------------------
//
// Copyright (c) 2016 Mapbox. All rights reserved.
//
//-----------------------------------------------------------------------
namespace Mapbox.Platform {
using Mapbox.Unity.Utilities;
/// A handle to an asynchronous request.
public interface IAsyncRequest {
/// True after the request has finished.
bool IsCompleted { get; }
/// Cancel the ongoing request, preventing it from firing a callback.
void Cancel();
/// Type of request: GET, HEAD, ...
HttpRequestType RequestType { get; }
}
}