aspnetcore/src/Microsoft.AspNetCore.Respon.../Internal/CacheEntry/CachedResponse.cs

21 lines
557 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.ResponseCaching.Internal
{
public class CachedResponse : IResponseCacheEntry
{
public DateTimeOffset Created { get; set; }
public int StatusCode { get; set; }
public IHeaderDictionary Headers { get; set; }
public Stream Body { get; set; }
}
}