chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:49:17 +08:00
commit 7243d5823b
2201 changed files with 257291 additions and 0 deletions
@@ -0,0 +1,15 @@
using System.Threading;
using System.Threading.Tasks;
namespace MCPForUnity.Editor.Services.AssetGen.Http
{
/// <summary>
/// The HTTP seam that provider adapters depend on. Production uses
/// <see cref="UnityWebRequestTransport"/>; tests inject <see cref="FakeHttpTransport"/> so
/// adapter request/response shaping can be verified without touching the network.
/// </summary>
public interface IHttpTransport
{
Task<HttpResult> SendAsync(HttpRequestSpec spec, CancellationToken ct);
}
}