summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/IHttpDirectRequest.cs
blob: 226102d178117f12fede82a2da345e78fbbb418b (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>
		System.Net.Http.Headers.HttpRequestHeaders Headers { get; }
	}
}