using System.Net; namespace DotNetOpenId { /// /// Represents an indirect message passed between Relying Party and Provider. /// public interface IResponse { /// /// The HTTP status code that should accompany the response. /// HttpStatusCode Code { get; } /// /// The HTTP headers that should be added to the response. /// WebHeaderCollection Headers { get; } /// /// The body that should be sent as the response content. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] byte[] Body { get; } /// /// Sends the response to the browser. /// /// /// This requires an ASP.NET HttpContext. /// void Send(); } }