aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-05-09 17:16:51 +0200
committerGitHub <noreply@github.com>2019-05-09 17:16:51 +0200
commitd9c159122f7da110809ade11596cc4d9a2c9adad (patch)
tree8d3c4f53bf06fd969efa460efdd82bb4c9d28328 /MediaBrowser.Common
parent2bc378a9c377cbcaf013eb83dac112aa47bd9053 (diff)
parentba12d96d23a53ce16a1da1b2fcf68a301050b858 (diff)
Merge pull request #1229 from voodoos/cleanup/SocketSharp
Cleaning WebSocketSharp continued
Diffstat (limited to 'MediaBrowser.Common')
-rw-r--r--MediaBrowser.Common/Net/CustomHeaderNames.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/CustomHeaderNames.cs b/MediaBrowser.Common/Net/CustomHeaderNames.cs
new file mode 100644
index 000000000..ff148dc80
--- /dev/null
+++ b/MediaBrowser.Common/Net/CustomHeaderNames.cs
@@ -0,0 +1,11 @@
+namespace MediaBrowser.Common.Net
+{
+ public static class CustomHeaderNames
+ {
+ // Other Headers
+ public const string XForwardedFor = "X-Forwarded-For";
+ public const string XForwardedPort = "X-Forwarded-Port";
+ public const string XForwardedProto = "X-Forwarded-Proto";
+ public const string XRealIP = "X-Real-IP";
+ }
+} \ No newline at end of file