//Copyright (c) ServiceStack, Inc. All Rights Reserved. //License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt #if !SL5 && !XBOX using System; namespace ServiceStack.Web { /// /// A thin wrapper around ASP.NET or HttpListener's HttpRequest /// public interface IHttpRequest : IRequest { /// /// The HttpResponse /// IHttpResponse HttpResponse { get; } /// /// The HTTP Verb /// string HttpMethod { get; } /// /// The IP Address of the X-Forwarded-For header, null if null or empty /// string XForwardedFor { get; } /// /// The Port number of the X-Forwarded-Port header, null if null or empty /// int? XForwardedPort { get; } /// /// The http or https scheme of the X-Forwarded-Proto header, null if null or empty /// string XForwardedProtocol { get; } /// /// The value of the X-Real-IP header, null if null or empty /// string XRealIp { get; } /// /// The value of the Accept HTTP Request Header /// string Accept { get; } } } #endif