aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/HttpBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SocketHttpListener/HttpBase.cs')
-rw-r--r--SocketHttpListener/HttpBase.cs24
1 files changed, 4 insertions, 20 deletions
diff --git a/SocketHttpListener/HttpBase.cs b/SocketHttpListener/HttpBase.cs
index d4ae857ff..fea91d84b 100644
--- a/SocketHttpListener/HttpBase.cs
+++ b/SocketHttpListener/HttpBase.cs
@@ -1,9 +1,5 @@
-using System;
-using System.Collections.Generic;
-using System.Collections.Specialized;
-using System.IO;
+using System;
using System.Text;
-using System.Threading;
using MediaBrowser.Model.Services;
namespace SocketHttpListener
@@ -53,21 +49,9 @@ namespace SocketHttpListener
}
}
- public QueryParamCollection Headers
- {
- get
- {
- return _headers;
- }
- }
+ public QueryParamCollection Headers => _headers;
- public Version ProtocolVersion
- {
- get
- {
- return _version;
- }
- }
+ public Version ProtocolVersion => _version;
#endregion
@@ -101,4 +85,4 @@ namespace SocketHttpListener
#endregion
}
-} \ No newline at end of file
+}