diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-12-18 00:44:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-18 00:44:33 -0500 |
| commit | e7cebb91a73354dc3e0d0b6340c9fbd6511f4406 (patch) | |
| tree | 6f1c368c766c17b7514fe749c0e92e69cd89194a /MediaBrowser.Model/Services/IHttpRequest.cs | |
| parent | 025905a3e4d50b9a2e07fbf4ff0a203af6604ced (diff) | |
| parent | aaa027f3229073e9a40756c3157d41af2a442922 (diff) | |
Merge pull request #2350 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.Model/Services/IHttpRequest.cs')
| -rw-r--r-- | MediaBrowser.Model/Services/IHttpRequest.cs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Services/IHttpRequest.cs b/MediaBrowser.Model/Services/IHttpRequest.cs new file mode 100644 index 000000000..46c0240cd --- /dev/null +++ b/MediaBrowser.Model/Services/IHttpRequest.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MediaBrowser.Model.Services +{ + public interface IHttpRequest : IRequest + { + /// <summary> + /// The HttpResponse + /// </summary> + IHttpResponse HttpResponse { get; } + + /// <summary> + /// The HTTP Verb + /// </summary> + string HttpMethod { get; } + + /// <summary> + /// The IP Address of the X-Forwarded-For header, null if null or empty + /// </summary> + string XForwardedFor { get; } + + /// <summary> + /// The Port number of the X-Forwarded-Port header, null if null or empty + /// </summary> + int? XForwardedPort { get; } + + /// <summary> + /// The http or https scheme of the X-Forwarded-Proto header, null if null or empty + /// </summary> + string XForwardedProtocol { get; } + + /// <summary> + /// The value of the X-Real-IP header, null if null or empty + /// </summary> + string XRealIp { get; } + + /// <summary> + /// The value of the Accept HTTP Request Header + /// </summary> + string Accept { get; } + } +} |
