This commit is contained in:
runette committed 2024-04-22 15:52:51 +01:00
commit e0afef912e
1285 files changed
+83219

No files matched your search

@@ -0,0 +1,25 @@
//-----------------------------------------------------------------------
// <copyright file="IAsyncRequest.cs" company="Mapbox">
// Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Mapbox.Platform {
using Mapbox.Unity.Utilities;
/// <summary> A handle to an asynchronous request. </summary>
public interface IAsyncRequest {
/// <summary> True after the request has finished. </summary>
bool IsCompleted { get; }
/// <summary> Cancel the ongoing request, preventing it from firing a callback. </summary>
void Cancel();
/// <summary>Type of request: GET, HEAD, ...</summary>
HttpRequestType RequestType { get; }
}
}