You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
552 B

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Apewer.AspNetBridge
{
/// <summary></summary>
public abstract class HttpContent : IDisposable
{
HttpContentHeaders _headers = new HttpContentHeaders();
/// <summary></summary>
public Stream Stream { get; set; }
/// <summary></summary>
public HttpContentHeaders Headers { get => _headers; }
/// <summary></summary>
public void Dispose() => RuntimeUtility.Dispose(Stream);
}
}