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.

31 lines
662 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();
Stream _stream = null;
/// <summary></summary>
public Stream Stream
{
get { return _stream; }
set { _stream = value; }
}
/// <summary></summary>
public HttpContentHeaders Headers { get => _headers; }
/// <summary></summary>
public void Dispose() => RuntimeUtility.Dispose(Stream);
}
}