summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/IHttpDirectRequest.cs
blob: 7b26869e89ce80da6458f32be0a19fb99afef6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//-----------------------------------------------------------------------
// <copyright file="IHttpDirectRequest.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Messaging {
	using System.Net;

	/// <summary>
	/// An interface that allows direct request messages to capture the details of the HTTP request they arrived on.
	/// </summary>
	public interface IHttpDirectRequest : IMessage {
		/// <summary>
		/// Gets the HTTP headers of the request.
		/// </summary>
		/// <value>May be an empty collection, but must not be <c>null</c>.</value>
		WebHeaderCollection Headers { get; }
	}
}