aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net/WebSockets
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 20:27:29 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 20:27:29 +0100
commit8fd0bc63b94d6afac2912217b6118b7c2d533333 (patch)
treee7ccfc874762249886a797fa97920662db653672 /SocketHttpListener/Net/WebSockets
parent9014e16037e96a24a78ca59e662bc549f114f233 (diff)
Visual Studio Reformat: SocketHttpListener
Diffstat (limited to 'SocketHttpListener/Net/WebSockets')
-rw-r--r--SocketHttpListener/Net/WebSockets/HttpListenerWebSocketContext.cs6
-rw-r--r--SocketHttpListener/Net/WebSockets/HttpWebSocket.Managed.cs2
-rw-r--r--SocketHttpListener/Net/WebSockets/HttpWebSocket.cs3
-rw-r--r--SocketHttpListener/Net/WebSockets/WebSocketCloseStatus.cs6
-rw-r--r--SocketHttpListener/Net/WebSockets/WebSocketContext.cs2
-rw-r--r--SocketHttpListener/Net/WebSockets/WebSocketValidate.cs4
6 files changed, 3 insertions, 20 deletions
diff --git a/SocketHttpListener/Net/WebSockets/HttpListenerWebSocketContext.cs b/SocketHttpListener/Net/WebSockets/HttpListenerWebSocketContext.cs
index 49375678d..5ed49ec47 100644
--- a/SocketHttpListener/Net/WebSockets/HttpListenerWebSocketContext.cs
+++ b/SocketHttpListener/Net/WebSockets/HttpListenerWebSocketContext.cs
@@ -1,14 +1,8 @@
using System;
using System.Collections.Generic;
-using System.Collections.Specialized;
-using System.IO;
using System.Net;
using System.Security.Principal;
-using MediaBrowser.Model.Cryptography;
-using MediaBrowser.Model.IO;
-using MediaBrowser.Model.Net;
using MediaBrowser.Model.Services;
-using SocketHttpListener.Primitives;
namespace SocketHttpListener.Net.WebSockets
{
diff --git a/SocketHttpListener/Net/WebSockets/HttpWebSocket.Managed.cs b/SocketHttpListener/Net/WebSockets/HttpWebSocket.Managed.cs
index 571e4bdba..96b960f7b 100644
--- a/SocketHttpListener/Net/WebSockets/HttpWebSocket.Managed.cs
+++ b/SocketHttpListener/Net/WebSockets/HttpWebSocket.Managed.cs
@@ -1,6 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Text;
using System.Threading.Tasks;
namespace SocketHttpListener.Net.WebSockets
diff --git a/SocketHttpListener/Net/WebSockets/HttpWebSocket.cs b/SocketHttpListener/Net/WebSockets/HttpWebSocket.cs
index f72a139f3..4667275c5 100644
--- a/SocketHttpListener/Net/WebSockets/HttpWebSocket.cs
+++ b/SocketHttpListener/Net/WebSockets/HttpWebSocket.cs
@@ -1,8 +1,7 @@
using System;
-using System.Collections.Generic;
-using System.Text;
using System.Diagnostics.CodeAnalysis;
using System.Security.Cryptography;
+using System.Text;
using System.Threading;
namespace SocketHttpListener.Net.WebSockets
diff --git a/SocketHttpListener/Net/WebSockets/WebSocketCloseStatus.cs b/SocketHttpListener/Net/WebSockets/WebSocketCloseStatus.cs
index b83b6cd0f..451b16ec3 100644
--- a/SocketHttpListener/Net/WebSockets/WebSocketCloseStatus.cs
+++ b/SocketHttpListener/Net/WebSockets/WebSocketCloseStatus.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace SocketHttpListener.Net.WebSockets
+namespace SocketHttpListener.Net.WebSockets
{
public enum WebSocketCloseStatus
{
diff --git a/SocketHttpListener/Net/WebSockets/WebSocketContext.cs b/SocketHttpListener/Net/WebSockets/WebSocketContext.cs
index 071b5fe05..10ad86439 100644
--- a/SocketHttpListener/Net/WebSockets/WebSocketContext.cs
+++ b/SocketHttpListener/Net/WebSockets/WebSocketContext.cs
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
-using System.Collections.Specialized;
using System.Net;
using System.Security.Principal;
-using MediaBrowser.Model.Net;
using MediaBrowser.Model.Services;
namespace SocketHttpListener.Net.WebSockets
diff --git a/SocketHttpListener/Net/WebSockets/WebSocketValidate.cs b/SocketHttpListener/Net/WebSockets/WebSocketValidate.cs
index 00895ea01..2f1b428ab 100644
--- a/SocketHttpListener/Net/WebSockets/WebSocketValidate.cs
+++ b/SocketHttpListener/Net/WebSockets/WebSocketValidate.cs
@@ -1,8 +1,6 @@
using System;
-using System.Collections.Generic;
-using System.Text;
-using MediaBrowser.Model.Net;
using System.Globalization;
+using System.Text;
using WebSocketState = System.Net.WebSockets.WebSocketState;
namespace SocketHttpListener.Net.WebSockets