File: IHttpResponseMessageWrapper.cs
Web Access
Project: src\src\Tools\Microsoft.dotnet-openapi\src\Microsoft.dotnet-openapi.csproj (dotnet-openapi)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.IO;
using System.Net;
using System.Net.Http.Headers;
using System.Threading.Tasks;
 
namespace Microsoft.DotNet.OpenApi;
 
public interface IHttpResponseMessageWrapper : IDisposable
{
    Task<Stream> Stream { get; }
    ContentDispositionHeaderValue ContentDisposition();
    HttpStatusCode StatusCode { get; }
    bool IsSuccessCode();
}