├── .gitignore ├── LICENCE.md ├── Ninja.WebSockets.DemoClient ├── Complex │ ├── LoadTest.cs │ ├── PingPongTest.cs │ ├── StressTest.cs │ └── TestRunner.cs ├── Ninja.WebSockets.DemoClient.csproj ├── Program.cs ├── Properties │ ├── PublishProfiles │ │ └── FolderProfile.pubxml │ └── launchSettings.json └── Simple │ └── SimpleClient.cs ├── Ninja.WebSockets.DemoServer ├── Ninja.WebSockets.DemoServer.csproj ├── Program.cs ├── Properties │ └── PublishProfiles │ │ └── FolderProfile.pubxml └── WebServer.cs ├── Ninja.WebSockets.UnitTests ├── LargeMessageTests.cs ├── MockNetworkStream.cs ├── Ninja.WebSockets.UnitTests.csproj ├── TheInternet.cs ├── TheInternetTests.cs └── WebSocketClientTests.cs ├── Ninja.WebSockets.sln ├── Ninja.WebSockets ├── BufferPool.cs ├── Exceptions │ ├── EntityTooLargeException.cs │ ├── InvalidHttpResponseCodeException.cs │ ├── README.txt │ ├── SecWebSocketKeyMissingException.cs │ ├── ServerListenerSocketException.cs │ ├── WebSocketBufferOverflowException.cs │ ├── WebSocketHandshakeFailedException.cs │ └── WebSocketVersionNotSupportedException.cs ├── HttpHelper.cs ├── IBufferPool.cs ├── IPingPongManager.cs ├── IWebSocketClientFactory.cs ├── IWebSocketServerFactory.cs ├── Internal │ ├── BinaryReaderWriter.cs │ ├── Events.cs │ ├── WebSocketFrame.cs │ ├── WebSocketFrameCommon.cs │ ├── WebSocketFrameReader.cs │ ├── WebSocketFrameWriter.cs │ ├── WebSocketImplementation.cs │ ├── WebSocketOpCode.cs │ └── WebSocketReadCursor.cs ├── Ninja.WebSockets.csproj ├── PingPongManager.cs ├── PongEventArgs.cs ├── Properties │ └── PublishProfiles │ │ └── FolderProfile.pubxml ├── WebSocketClientFactory.cs ├── WebSocketClientOptions.cs ├── WebSocketHttpContext.cs ├── WebSocketServerFactory.cs └── WebSocketServerOptions.cs ├── Properties └── AssemblyInfo.cs ├── README.md ├── icon.png ├── icon.svg └── iconLarge.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/LICENCE.md -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Complex/LoadTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Complex/LoadTest.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Complex/PingPongTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Complex/PingPongTest.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Complex/StressTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Complex/StressTest.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Complex/TestRunner.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Complex/TestRunner.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Ninja.WebSockets.DemoClient.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Ninja.WebSockets.DemoClient.csproj -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Program.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Properties/PublishProfiles/FolderProfile.pubxml -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Properties/launchSettings.json -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoClient/Simple/SimpleClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoClient/Simple/SimpleClient.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoServer/Ninja.WebSockets.DemoServer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoServer/Ninja.WebSockets.DemoServer.csproj -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoServer/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoServer/Program.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoServer/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoServer/Properties/PublishProfiles/FolderProfile.pubxml -------------------------------------------------------------------------------- /Ninja.WebSockets.DemoServer/WebServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.DemoServer/WebServer.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.UnitTests/LargeMessageTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.UnitTests/LargeMessageTests.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.UnitTests/MockNetworkStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.UnitTests/MockNetworkStream.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.UnitTests/Ninja.WebSockets.UnitTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.UnitTests/Ninja.WebSockets.UnitTests.csproj -------------------------------------------------------------------------------- /Ninja.WebSockets.UnitTests/TheInternet.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.UnitTests/TheInternet.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.UnitTests/TheInternetTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.UnitTests/TheInternetTests.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.UnitTests/WebSocketClientTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.UnitTests/WebSocketClientTests.cs -------------------------------------------------------------------------------- /Ninja.WebSockets.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets.sln -------------------------------------------------------------------------------- /Ninja.WebSockets/BufferPool.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/BufferPool.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/EntityTooLargeException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/EntityTooLargeException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/InvalidHttpResponseCodeException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/InvalidHttpResponseCodeException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/README.txt: -------------------------------------------------------------------------------- 1 | Make sure that exceptions follow the microsoft standards -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/SecWebSocketKeyMissingException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/SecWebSocketKeyMissingException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/ServerListenerSocketException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/ServerListenerSocketException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/WebSocketBufferOverflowException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/WebSocketBufferOverflowException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/WebSocketHandshakeFailedException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/WebSocketHandshakeFailedException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Exceptions/WebSocketVersionNotSupportedException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Exceptions/WebSocketVersionNotSupportedException.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/HttpHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/HttpHelper.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/IBufferPool.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/IBufferPool.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/IPingPongManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/IPingPongManager.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/IWebSocketClientFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/IWebSocketClientFactory.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/IWebSocketServerFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/IWebSocketServerFactory.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/BinaryReaderWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/BinaryReaderWriter.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/Events.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/Events.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketFrame.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketFrame.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketFrameCommon.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketFrameCommon.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketFrameReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketFrameReader.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketFrameWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketFrameWriter.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketImplementation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketImplementation.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketOpCode.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketOpCode.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Internal/WebSocketReadCursor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Internal/WebSocketReadCursor.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Ninja.WebSockets.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Ninja.WebSockets.csproj -------------------------------------------------------------------------------- /Ninja.WebSockets/PingPongManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/PingPongManager.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/PongEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/PongEventArgs.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/Properties/PublishProfiles/FolderProfile.pubxml -------------------------------------------------------------------------------- /Ninja.WebSockets/WebSocketClientFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/WebSocketClientFactory.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/WebSocketClientOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/WebSocketClientOptions.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/WebSocketHttpContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/WebSocketHttpContext.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/WebSocketServerFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/WebSocketServerFactory.cs -------------------------------------------------------------------------------- /Ninja.WebSockets/WebSocketServerOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Ninja.WebSockets/WebSocketServerOptions.cs -------------------------------------------------------------------------------- /Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/README.md -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/icon.png -------------------------------------------------------------------------------- /icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/icon.svg -------------------------------------------------------------------------------- /iconLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasource/Ninja.WebSockets/HEAD/iconLarge.png --------------------------------------------------------------------------------