namespace MCPForUnity.Editor.Services.AssetGen.Http { /// /// Transport-agnostic result of an . is /// the numeric HTTP status code; reflects the transport's own view /// of success (e.g. UnityWebRequest.Result.Success), which adapters combine with their own /// body-level checks. /// public sealed class HttpResult { public int Status; public byte[] Body; public string Text; public bool IsSuccess; /// True when the transport reports success or the status code is 2xx. public bool Ok => IsSuccess || (Status >= 200 && Status < 300); } }