From e877c1d9b6c4b038e7dda9652bb5fa30f403cfda Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 1 Jan 2019 19:09:13 +1100 Subject: [PATCH] 1.0.8 --- SocketIoClientDotNet.sln | 39 --- .../Properties/AssemblyInfo.cs | 36 ++ .../SocketIoClientDotNet.Tests.mono.csproj | 116 +++++++ .../app.config | 15 + .../packages.config | 11 + .../Properties/AssemblyInfo.cs | 36 ++ .../SocketIoClientDotNet.Tests.net35.csproj | 109 ++++++ ...ClientDotNet.Tests.net35.v3.ncrunchproject | 19 + .../app.config | 19 + .../packages.config | 9 + .../Properties/AssemblyInfo.cs | 36 ++ .../SocketIoClientDotNet.Tests.net40.csproj | 112 ++++++ ...ClientDotNet.Tests.net40.v2.ncrunchproject | 110 ++++++ ...ClientDotNet.Tests.net40.v3.ncrunchproject | 61 ++++ .../app.config | 19 + .../config.json | 20 ++ .../packages.config | 8 + .../ClientTests/Connection.cs | 0 .../ClientTests/ConnectionConstants.cs | 2 +- .../ClientTests/Connection_device.cs | 0 .../ClientTests/ServerConnectionTest.cs | 0 .../ClientTests/ServerConnectionTest_net35.cs | 0 .../ClientTests/UrlTest.cs | 0 .../ModuleTests/HasBinaryDataTest.cs | 0 .../ParserTests/ByteArrayTest.cs | 0 .../ParserTests/Helpers.cs | 0 .../ParserTests/ParserTest.cs | 0 .../Properties/AssemblyInfo.cs | 35 ++ .../SocketIoClientDotNet.Tests.net45.csproj | 16 +- ...ClientDotNet.Tests.net45.v3.ncrunchproject | 28 ++ .../app.config | 23 ++ .../packages.config | 15 + ...IoClientDotNet.Tests.netstandard1.3.csproj | 39 +++ ...Net.Tests.netstandard1.3.v3.ncrunchproject | 148 ++++++++ .../Properties/AssemblyInfo.cs | 36 ++ .../SocketIoClientDotNet.mono.csproj | 106 ++++++ .../SocketIoClientDotNet.mono.sln | 78 +++++ Src/SocketIoClientDotNet.mono/packages.config | 6 + Src/SocketIoClientDotNet.net35/.gitignore | 328 ++++++++++++++++++ .../Collections.Concurrent/ConcurrentQueue.cs | 0 .../Properties/AssemblyInfo.cs | 35 ++ .../SocketIoClientDotNet.net35.csproj | 113 ++++++ .../SocketIoClientDotNet.net35.sln | 56 +++ ...cketIoClientDotNet.net35.v3.ncrunchproject | 8 + ...ketIoClientDotNet.net35.v3.ncrunchsolution | 6 + Src/SocketIoClientDotNet.net35/app.config | 15 + .../packages.config | 8 + .../Properties/AssemblyInfo.cs | 35 ++ .../SocketIoClientDotNet.net40.csproj | 107 ++++++ .../SocketIoClientDotNet.net40.sln | 31 ++ ...cketIoClientDotNet.net40.v2.ncrunchproject | 30 ++ ...ketIoClientDotNet.net40.v2.ncrunchsolution | 14 + ...cketIoClientDotNet.net40.v3.ncrunchproject | 8 + ...ketIoClientDotNet.net40.v3.ncrunchsolution | 6 + Src/SocketIoClientDotNet.net40/app.config | 19 + .../packages.config | 7 + .../Client/AckImpl.cs | 0 .../Client/IAck.cs | 0 .../Client/IO.cs | 10 +- .../Client/IO_net35.cs | 0 .../Client/Manager.cs | 0 .../Client/Manager_net35.cs | 0 .../Client/On.cs | 0 .../Client/Socket.cs | 18 +- .../Client/SocketIOException.cs | 0 .../Client/Socket_net35.cs | 0 .../Client/Socket_net40.cs | 0 .../Client/Url.cs | 0 .../Modules/HasBinaryData.cs | 0 .../Parser/Binary.cs | 0 .../Parser/Packet.cs | 0 .../Parser/Parser.cs | 5 +- .../Properties/AssemblyInfo.cs | 35 ++ .../SocketIoClientDotNet.net45.csproj | 79 +++++ .../SocketIoClientDotNet.net45.sln | 78 +++++ ...cketIoClientDotNet.net45.v3.ncrunchproject | 8 + ...ketIoClientDotNet.net45.v3.ncrunchsolution | 6 + Src/SocketIoClientDotNet.net45/app.config | 11 + .../packages.config | 8 + ...SocketIoClientDotNet.netstandard1.3.csproj | 41 +++ .../SocketIoClientDotNet.netstandard1.3.sln | 28 ++ ...entDotNet.netstandard1.3.v3.ncrunchproject | 8 + ...ntDotNet.netstandard1.3.v3.ncrunchsolution | 6 + .../SocketIoClientDotNet.csproj | 49 --- TestServer/.gitignore | 1 + TestServer/server.js | 6 +- TestServer/test.txt | 2 +- TestServer/testme.quobject.com.cert | 19 - TestServer/testme.quobject.com.key | 27 -- TestServer/testme.quobject.com.p7b | Bin 834 -> 0 bytes grunt/config.json | 10 +- grunt/templates/AssemblyInfo.cs | 2 +- grunt/templates/SocketIoClientDotNet.nuspec | 8 +- .../SocketIoClientDotNet.Tests.csproj | 66 ---- 94 files changed, 2426 insertions(+), 238 deletions(-) delete mode 100644 SocketIoClientDotNet.sln create mode 100644 Src/SocketIoClientDotNet.Tests.mono/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.Tests.mono/SocketIoClientDotNet.Tests.mono.csproj create mode 100644 Src/SocketIoClientDotNet.Tests.mono/app.config create mode 100644 Src/SocketIoClientDotNet.Tests.mono/packages.config create mode 100644 Src/SocketIoClientDotNet.Tests.net35/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.csproj create mode 100644 Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.Tests.net35/app.config create mode 100644 Src/SocketIoClientDotNet.Tests.net35/packages.config create mode 100644 Src/SocketIoClientDotNet.Tests.net40/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.csproj create mode 100644 Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v2.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.Tests.net40/app.config create mode 100644 Src/SocketIoClientDotNet.Tests.net40/config.json create mode 100644 Src/SocketIoClientDotNet.Tests.net40/packages.config rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ClientTests/Connection.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ClientTests/ConnectionConstants.cs (84%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ClientTests/Connection_device.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ClientTests/ServerConnectionTest.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ClientTests/ServerConnectionTest_net35.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ClientTests/UrlTest.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ModuleTests/HasBinaryDataTest.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ParserTests/ByteArrayTest.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ParserTests/Helpers.cs (100%) rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/ParserTests/ParserTest.cs (100%) create mode 100644 Src/SocketIoClientDotNet.Tests.net45/Properties/AssemblyInfo.cs rename {test/SocketIoClientDotNet.Tests => Src/SocketIoClientDotNet.Tests.net45}/SocketIoClientDotNet.Tests.net45.csproj (91%) create mode 100644 Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.Tests.net45/app.config create mode 100644 Src/SocketIoClientDotNet.Tests.net45/packages.config create mode 100644 Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.csproj create mode 100644 Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.mono/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.csproj create mode 100644 Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.sln create mode 100644 Src/SocketIoClientDotNet.mono/packages.config create mode 100644 Src/SocketIoClientDotNet.net35/.gitignore rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net35}/Collections.Concurrent/ConcurrentQueue.cs (100%) create mode 100644 Src/SocketIoClientDotNet.net35/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.csproj create mode 100644 Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.sln create mode 100644 Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchsolution create mode 100644 Src/SocketIoClientDotNet.net35/app.config create mode 100644 Src/SocketIoClientDotNet.net35/packages.config create mode 100644 Src/SocketIoClientDotNet.net40/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.csproj create mode 100644 Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.sln create mode 100644 Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchsolution create mode 100644 Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchsolution create mode 100644 Src/SocketIoClientDotNet.net40/app.config create mode 100644 Src/SocketIoClientDotNet.net40/packages.config rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/AckImpl.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/IAck.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/IO.cs (87%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/IO_net35.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/Manager.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/Manager_net35.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/On.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/Socket.cs (97%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/SocketIOException.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/Socket_net35.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/Socket_net40.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Client/Url.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Modules/HasBinaryData.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Parser/Binary.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Parser/Packet.cs (100%) rename Src/{SocketIoClientDotNet => SocketIoClientDotNet.net45}/Parser/Parser.cs (98%) create mode 100644 Src/SocketIoClientDotNet.net45/Properties/AssemblyInfo.cs create mode 100644 Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.csproj create mode 100644 Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.sln create mode 100644 Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchsolution create mode 100644 Src/SocketIoClientDotNet.net45/app.config create mode 100644 Src/SocketIoClientDotNet.net45/packages.config create mode 100644 Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.csproj create mode 100644 Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.sln create mode 100644 Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchproject create mode 100644 Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchsolution delete mode 100644 Src/SocketIoClientDotNet/SocketIoClientDotNet.csproj delete mode 100644 TestServer/testme.quobject.com.cert delete mode 100644 TestServer/testme.quobject.com.key delete mode 100644 TestServer/testme.quobject.com.p7b delete mode 100644 test/SocketIoClientDotNet.Tests/SocketIoClientDotNet.Tests.csproj diff --git a/SocketIoClientDotNet.sln b/SocketIoClientDotNet.sln deleted file mode 100644 index 4240144..0000000 --- a/SocketIoClientDotNet.sln +++ /dev/null @@ -1,39 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2046 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Src", "Src", "{5522D1EC-43EC-4481-A2A5-0D7D440ADB61}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SocketIoClientDotNet", "Src\SocketIoClientDotNet\SocketIoClientDotNet.csproj", "{41AC286C-AEF5-4262-9DFD-2BA9353B7A6E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{351EC480-13CF-4DEC-AFE8-B2CFE4609A92}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SocketIoClientDotNet.Tests", "test\SocketIoClientDotNet.Tests\SocketIoClientDotNet.Tests.csproj", "{6FEBECB3-B7C2-4612-A843-24C712483E14}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {41AC286C-AEF5-4262-9DFD-2BA9353B7A6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {41AC286C-AEF5-4262-9DFD-2BA9353B7A6E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {41AC286C-AEF5-4262-9DFD-2BA9353B7A6E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {41AC286C-AEF5-4262-9DFD-2BA9353B7A6E}.Release|Any CPU.Build.0 = Release|Any CPU - {6FEBECB3-B7C2-4612-A843-24C712483E14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6FEBECB3-B7C2-4612-A843-24C712483E14}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6FEBECB3-B7C2-4612-A843-24C712483E14}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6FEBECB3-B7C2-4612-A843-24C712483E14}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {41AC286C-AEF5-4262-9DFD-2BA9353B7A6E} = {5522D1EC-43EC-4481-A2A5-0D7D440ADB61} - {6FEBECB3-B7C2-4612-A843-24C712483E14} = {351EC480-13CF-4DEC-AFE8-B2CFE4609A92} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {94D8B75E-A477-4C5B-A6F6-8322324C22AD} - EndGlobalSection -EndGlobal diff --git a/Src/SocketIoClientDotNet.Tests.mono/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.Tests.mono/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5b757a8 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.mono/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet.Tests.mono")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SocketIoClientDotNet.Tests.mono")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("0df2fc9c-4abf-4925-9617-c374461b8ea7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Src/SocketIoClientDotNet.Tests.mono/SocketIoClientDotNet.Tests.mono.csproj b/Src/SocketIoClientDotNet.Tests.mono/SocketIoClientDotNet.Tests.mono.csproj new file mode 100644 index 0000000..3b1a791 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.mono/SocketIoClientDotNet.Tests.mono.csproj @@ -0,0 +1,116 @@ + + + + + + Debug + AnyCPU + {022DE7B5-7AA6-447A-8720-DDF627C384FD} + Library + Properties + SocketIoClientDotNet.Tests.mono + SocketIoClientDotNet.Tests.mono + v4.5 + 512 + 56483a1c + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\SocketIoClientDotNet.mono\packages\EngineIoClientDotNet.0.9.18\lib\net45\EngineIoClientDotNet.dll + True + + + ..\SocketIoClientDotNet.mono\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + True + + + + + + + + + + + ..\SocketIoClientDotNet.mono\packages\WebSocket4Net.0.12\lib\net45\WebSocket4Net.dll + True + + + ..\SocketIoClientDotNet.mono\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll + True + + + ..\SocketIoClientDotNet.mono\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll + True + + + ..\SocketIoClientDotNet.mono\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll + True + + + + + ClientTests\Connection.cs + + + ClientTests\ServerConnectionTest.cs + + + ClientTests\UrlTest.cs + + + ModuleTests\HasBinaryDataTest.cs + + + ParserTests\ByteArrayTest.cs + + + ParserTests\Helpers.cs + + + ParserTests\ParserTest.cs + + + + + + {9c663463-8a1d-4960-a64a-1e0303034fe2} + SocketIoClientDotNet.mono + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.mono/app.config b/Src/SocketIoClientDotNet.Tests.mono/app.config new file mode 100644 index 0000000..8194791 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.mono/app.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.mono/packages.config b/Src/SocketIoClientDotNet.Tests.mono/packages.config new file mode 100644 index 0000000..18a15f9 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.mono/packages.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net35/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.Tests.net35/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..04c5cd1 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net35/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet.Tests.net35")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SocketIoClientDotNet.Tests.net35")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("bf93a8d2-2707-4a53-93d6-a6a00af2f1d5")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.csproj b/Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.csproj new file mode 100644 index 0000000..848ab86 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.csproj @@ -0,0 +1,109 @@ + + + + + Debug + AnyCPU + {6D90EB17-A71E-4A5F-8BF1-1F7991AEB976} + Library + Properties + SocketIoClientDotNet.Tests + SocketIoClientDotNet.Tests.net35 + v3.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\SocketIoClientDotNet.net35\packages\EngineIoClientDotNet.1.0.6\lib\net35\EngineIoClientDotNet.dll + + + ..\SocketIoClientDotNet.net35\packages\Newtonsoft.Json.9.0.1\lib\net35\Newtonsoft.Json.dll + + + ..\SocketIoClientDotNet.net35\packages\SuperSocket.ClientEngine.Core.0.10.0\lib\net35-client\SuperSocket.ClientEngine.dll + + + + + False + ..\SocketIoClientDotNet.net35\packages\System.Threading.Tasks.Unofficial.3.1\lib\net35\System.Threading.Tasks.NET35.dll + + + + + + + ..\SocketIoClientDotNet.net35\packages\WebSocket4Net.0.15.2\lib\net35\WebSocket4Net.dll + + + ..\SocketIoClientDotNet.net35\packages\xunit.1.9.2\lib\net20\xunit.dll + + + + + ClientTests\Connection.cs + + + ClientTests\ConnectionConstants.cs + + + ClientTests\ServerConnectionTest_net35.cs + + + ClientTests\UrlTest.cs + + + ModuleTests\HasBinaryDataTest.cs + + + ParserTests\ByteArrayTest.cs + + + ParserTests\Helpers.cs + + + ParserTests\ParserTest.cs + + + + + + + Designer + + + + + {e3d3a67d-9a1e-4915-8a2d-1c0e4447f5e0} + SocketIoClientDotNet.net35 + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.v3.ncrunchproject b/Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.v3.ncrunchproject new file mode 100644 index 0000000..b0f5626 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net35/SocketIoClientDotNet.Tests.net35.v3.ncrunchproject @@ -0,0 +1,19 @@ + + + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net35/app.config b/Src/SocketIoClientDotNet.Tests.net35/app.config new file mode 100644 index 0000000..94e1145 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net35/app.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net35/packages.config b/Src/SocketIoClientDotNet.Tests.net35/packages.config new file mode 100644 index 0000000..f39a9e1 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net35/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net40/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.Tests.net40/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..180cff1 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet.Tests.net40")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SocketIoClientDotNet.Tests.net40")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b7bc8677-efa2-47e2-86c3-1ab3f31238c3")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.csproj b/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.csproj new file mode 100644 index 0000000..3589c18 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.csproj @@ -0,0 +1,112 @@ + + + + + Debug + AnyCPU + {DD1A4F5E-5606-4989-9DF8-C1BBD50CD850} + Library + Properties + SocketIoClientDotNet.Tests.net40 + SocketIoClientDotNet.Tests.net40 + v4.0 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + ..\SocketIoClientDotNet.net40\packages\EngineIoClientDotNet.1.0.8\lib\net40\EngineIoClientDotNet.dll + + + ..\SocketIoClientDotNet.net40\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll + + + ..\SocketIoClientDotNet.net40\packages\SuperSocket.ClientEngine.Core.0.10.0\lib\net40-client\SuperSocket.ClientEngine.dll + + + + + + + + + + + ..\SocketIoClientDotNet.net40\packages\WebSocket4Net.0.15.2\lib\net40\WebSocket4Net.dll + + + ..\SocketIoClientDotNet.net40\packages\xunit.1.9.2\lib\net20\xunit.dll + True + + + + + ClientTests\Connection.cs + + + ClientTests\ConnectionConstants.cs + + + ClientTests\ServerConnectionTest_net35.cs + + + ClientTests\UrlTest.cs + + + ModuleTests\HasBinaryDataTest.cs + + + ParserTests\ByteArrayTest.cs + + + ParserTests\Helpers.cs + + + ParserTests\ParserTest.cs + + + + + + {53ae4914-a35b-406c-91ed-7e3d9c950f45} + SocketIoClientDotNet.net40 + + + + + + Always + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v2.ncrunchproject b/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v2.ncrunchproject new file mode 100644 index 0000000..8b5c970 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v2.ncrunchproject @@ -0,0 +1,110 @@ + + true + 1000 + false + false + false + true + false + false + false + false + false + true + false + true + false + true + true + true + 60000 + + + + AutoDetect + STA + x86 + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.D10000CharsTest + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.Json10000000CharsTest + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.Json10000CharsTest + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ReconnectEventShouldFireInSocket + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldEmitDateAsDate + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldEmitDateInObject + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldFireErrorOnSocket + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldFireReconnectEventsOnSocket + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldFireReconnectingOnSocketWithAttemptsNumberWhenReconnectingTwice + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldGetBase64DataAsALastResort + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldGetBinaryDataAsAnArraybuffer + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldNotConnectWhenAutoconnectOptionSetToFalse + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldNotTryToReconnectAndShouldFormAConnectionWhenConnectingToCorrectPortWithDefaultTimeout + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldNotTryToReconnectWithIncorrectPortWhenReconnectionDisabled + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldOpenANewNamespaceAfterConnectionGetsClosed + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReceiveDateWithAck + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReceiveDateWithAckAsAction + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReceiveUtf8MultibyteCharacters + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReconnectByDefault + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldSendBinaryDataAsAnArraybuffer + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldSendBinaryDataAsAnArraybufferMixedWithJson + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldSendEventsWithArraybuffersInTheCorrectOrder + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldTryToReconnectTwiceAndFailWhenRequestedTwoAttemptsWithImmediateTimeoutAndReconnectEnabled + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldTryToReconnectTwiceAndFailWhenRequestedTwoAttemptsWithIncorrectAddressAndReconnectEnabled + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldWorkWithAcks + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldWorkWithFalse + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v3.ncrunchproject b/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v3.ncrunchproject new file mode 100644 index 0000000..154751d --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/SocketIoClientDotNet.Tests.net40.v3.ncrunchproject @@ -0,0 +1,61 @@ + + + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArray + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArray2 + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArrayDeepInJson + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArrayInJson + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.Decode + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeAck + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeConnection + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeDisconnection + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeEvent + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest.ByteArray + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.Parse + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseNamespace + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseNoProtocol + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseRelativePath + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net40/app.config b/Src/SocketIoClientDotNet.Tests.net40/app.config new file mode 100644 index 0000000..33c715b --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/app.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Src/SocketIoClientDotNet.Tests.net40/config.json b/Src/SocketIoClientDotNet.Tests.net40/config.json new file mode 100644 index 0000000..0f3f5ab --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/config.json @@ -0,0 +1,20 @@ +{ + "version":"0.10.0", + "server":{ + "port":80, + "ssl_port":443, + "hostname":"127.0.0.1" + }, + "win":{ + "powershell":"C:/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe", + "msbuild":"C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe", + "xunit_path":"C:/Development/quobject.visualstudio.com/EngineIoClientDotNet/Src/EngineIoClientDotNet.net45/packages/xunit.runner.console.2.0.0/tools", + "nuget":"C:/ProgramData/chocolatey/bin/NuGet.exe", + "xamarin_component":"xamarin-component.exe" + }, + "linux":{ + "msbuild":"xbuild", + "xunit_path":"/home/apollo/vendors/xunit", + "xamarin_component":"xamarin-component" + } +} \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net40/packages.config b/Src/SocketIoClientDotNet.Tests.net40/packages.config new file mode 100644 index 0000000..0b09d9c --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net40/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test/SocketIoClientDotNet.Tests/ClientTests/Connection.cs b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/Connection.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ClientTests/Connection.cs rename to Src/SocketIoClientDotNet.Tests.net45/ClientTests/Connection.cs diff --git a/test/SocketIoClientDotNet.Tests/ClientTests/ConnectionConstants.cs b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/ConnectionConstants.cs similarity index 84% rename from test/SocketIoClientDotNet.Tests/ClientTests/ConnectionConstants.cs rename to Src/SocketIoClientDotNet.Tests.net45/ClientTests/ConnectionConstants.cs index b472a0c..6e9291c 100644 --- a/test/SocketIoClientDotNet.Tests/ClientTests/ConnectionConstants.cs +++ b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/ConnectionConstants.cs @@ -8,7 +8,7 @@ namespace SocketIoClientDotNet.Tests.ClientTests public static class ConnectionConstants { public static int PORT = 80; - public static string HOSTNAME = "testme.quobject.com"; + public static string HOSTNAME = "testme.quobject.io"; public static int SSL_PORT = 443; public static readonly int TIMEOUT = 300000; } diff --git a/test/SocketIoClientDotNet.Tests/ClientTests/Connection_device.cs b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/Connection_device.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ClientTests/Connection_device.cs rename to Src/SocketIoClientDotNet.Tests.net45/ClientTests/Connection_device.cs diff --git a/test/SocketIoClientDotNet.Tests/ClientTests/ServerConnectionTest.cs b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/ServerConnectionTest.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ClientTests/ServerConnectionTest.cs rename to Src/SocketIoClientDotNet.Tests.net45/ClientTests/ServerConnectionTest.cs diff --git a/test/SocketIoClientDotNet.Tests/ClientTests/ServerConnectionTest_net35.cs b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/ServerConnectionTest_net35.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ClientTests/ServerConnectionTest_net35.cs rename to Src/SocketIoClientDotNet.Tests.net45/ClientTests/ServerConnectionTest_net35.cs diff --git a/test/SocketIoClientDotNet.Tests/ClientTests/UrlTest.cs b/Src/SocketIoClientDotNet.Tests.net45/ClientTests/UrlTest.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ClientTests/UrlTest.cs rename to Src/SocketIoClientDotNet.Tests.net45/ClientTests/UrlTest.cs diff --git a/test/SocketIoClientDotNet.Tests/ModuleTests/HasBinaryDataTest.cs b/Src/SocketIoClientDotNet.Tests.net45/ModuleTests/HasBinaryDataTest.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ModuleTests/HasBinaryDataTest.cs rename to Src/SocketIoClientDotNet.Tests.net45/ModuleTests/HasBinaryDataTest.cs diff --git a/test/SocketIoClientDotNet.Tests/ParserTests/ByteArrayTest.cs b/Src/SocketIoClientDotNet.Tests.net45/ParserTests/ByteArrayTest.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ParserTests/ByteArrayTest.cs rename to Src/SocketIoClientDotNet.Tests.net45/ParserTests/ByteArrayTest.cs diff --git a/test/SocketIoClientDotNet.Tests/ParserTests/Helpers.cs b/Src/SocketIoClientDotNet.Tests.net45/ParserTests/Helpers.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ParserTests/Helpers.cs rename to Src/SocketIoClientDotNet.Tests.net45/ParserTests/Helpers.cs diff --git a/test/SocketIoClientDotNet.Tests/ParserTests/ParserTest.cs b/Src/SocketIoClientDotNet.Tests.net45/ParserTests/ParserTest.cs similarity index 100% rename from test/SocketIoClientDotNet.Tests/ParserTests/ParserTest.cs rename to Src/SocketIoClientDotNet.Tests.net45/ParserTests/ParserTest.cs diff --git a/Src/SocketIoClientDotNet.Tests.net45/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.Tests.net45/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..172a4f6 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net45/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet")] +[assembly: AssemblyDescription("Socket.IO Client Library for .Net")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Quobject Software")] +[assembly: AssemblyProduct("SocketIoClientDotNet")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a95e75cd-35e6-4e88-9e22-631e3fd01546")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("0.9.12")] +[assembly: AssemblyFileVersion("0.9.12")] diff --git a/test/SocketIoClientDotNet.Tests/SocketIoClientDotNet.Tests.net45.csproj b/Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.csproj similarity index 91% rename from test/SocketIoClientDotNet.Tests/SocketIoClientDotNet.Tests.net45.csproj rename to Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.csproj index d755b27..584445c 100644 --- a/test/SocketIoClientDotNet.Tests/SocketIoClientDotNet.Tests.net45.csproj +++ b/Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.csproj @@ -33,18 +33,18 @@ 4 - - ..\SocketIoClientDotNet.net45\packages\EngineIoClientDotNet.1.0.4\lib\net45\EngineIoClientDotNet.dll + + ..\SocketIoClientDotNet.net45\packages\EngineIoClientDotNet.1.0.8\lib\net45\EngineIoClientDotNet.dll ..\SocketIoClientDotNet.net45\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - - ..\SocketIoClientDotNet.net45\packages\SuperSocket.ClientEngine.Core.0.9.0\lib\net45\SuperSocket.ClientEngine.dll + + ..\SocketIoClientDotNet.net45\packages\SuperSocket.ClientEngine.Core.0.10.0\lib\net45\SuperSocket.ClientEngine.dll - - ..\SocketIoClientDotNet.net45\packages\System.Collections.Immutable.1.4.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll + + ..\SocketIoClientDotNet.net45\packages\System.Collections.Immutable.1.5.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll @@ -53,8 +53,8 @@ - - ..\SocketIoClientDotNet.net45\packages\WebSocket4Net.0.15.1\lib\net45\WebSocket4Net.dll + + ..\SocketIoClientDotNet.net45\packages\WebSocket4Net.0.15.2\lib\net45\WebSocket4Net.dll ..\SocketIoClientDotNet.net45\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll diff --git a/Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.v3.ncrunchproject b/Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.v3.ncrunchproject new file mode 100644 index 0000000..c5dd997 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net45/SocketIoClientDotNet.Tests.net45.v3.ncrunchproject @@ -0,0 +1,28 @@ + + + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest.ByteArray + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.Parse + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseNamespace + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseNoProtocol + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseRelativePath + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net45/app.config b/Src/SocketIoClientDotNet.Tests.net45/app.config new file mode 100644 index 0000000..598dc0b --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net45/app.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.net45/packages.config b/Src/SocketIoClientDotNet.Tests.net45/packages.config new file mode 100644 index 0000000..6e013dc --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.net45/packages.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.csproj b/Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.csproj new file mode 100644 index 0000000..6d9ed23 --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.csproj @@ -0,0 +1,39 @@ + + + + netcoreapp1.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.v3.ncrunchproject b/Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.v3.ncrunchproject new file mode 100644 index 0000000..cde504d --- /dev/null +++ b/Src/SocketIoClientDotNet.Tests.netstandard1.3/SocketIoClientDotNet.Tests.netstandard1.3.v3.ncrunchproject @@ -0,0 +1,148 @@ + + + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.Json10000000CharsTest + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.Parse + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseNamespace + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseNoProtocol + + + SocketIoClientDotNet.Tests.ClientTests.UrlTest.ParseRelativePath + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest + + + SocketIoClientDotNet.Tests.ModuleTests.HasBinaryDataTest.ByteArray + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArray + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArray2 + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArrayDeepInJson + + + SocketIoClientDotNet.Tests.ParserTests.ByteArrayTest.EncodeByteArrayInJson + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.Decode + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeAck + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeConnection + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeDisconnection + + + SocketIoClientDotNet.Tests.ParserTests.ParserTest.EncodeEvent + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldTryToReconnectTwiceAndFailWhenRequestedTwoAttemptsWithImmediateTimeoutAndReconnectEnabled + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldTryToReconnectTwiceAndFailWhenRequestedTwoAttemptsWithIncorrectAddressAndReconnectEnabled + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldWorkWithAcks + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldWorkWithAcks2 + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldWorkWithFalse + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldSendEventsWithArraybuffersInTheCorrectOrder + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReceiveUtf8MultibyteCharacters + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReconnectByDefault + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldSendBinaryDataAsAnArraybuffer + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldSendBinaryDataAsAnArraybufferMixedWithJson + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldNotTryToReconnectWithIncorrectPortWhenReconnectionDisabled + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldOpenANewNamespaceAfterConnectionGetsClosed + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReceiveDateWithAck + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldReceiveDateWithAckAsAction + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldGetBase64DataAsALastResort + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldGetBinaryDataAsAnArraybuffer + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldNotConnectWhenAutoconnectOptionSetToFalse + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldNotTryToReconnectAndShouldFormAConnectionWhenConnectingToCorrectPortWithDefaultTimeout + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.MessageTest + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.MessageTestHebrew + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.OgsMessageTest + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ReconnectEventShouldFireInSocket + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldEmitDateAsDate + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldEmitDateInObject + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldFireErrorOnSocket + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldFireReconnectEventsOnSocket + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest.ShouldFireReconnectingOnSocketWithAttemptsNumberWhenReconnectingTwice + + + SocketIoClientDotNet.Tests.ClientTests.ServerConnectionTest + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.mono/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.mono/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..613761a --- /dev/null +++ b/Src/SocketIoClientDotNet.mono/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet.mono")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SocketIoClientDotNet.mono")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ebf2fd3d-645f-408b-8595-ab81f67efeed")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.csproj b/Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.csproj new file mode 100644 index 0000000..d7f7942 --- /dev/null +++ b/Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.csproj @@ -0,0 +1,106 @@ + + + + + Debug + AnyCPU + {9C663463-8A1D-4960-A64A-1E0303034FE2} + Library + Properties + Quobject.SocketIoClientDotNet + SocketIoClientDotNet + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + packages\EngineIoClientDotNet.0.9.18\lib\net45\EngineIoClientDotNet.dll + True + + + packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + True + + + + + + + + + + + packages\WebSocket4Net.0.12\lib\net45\WebSocket4Net.dll + + + ..\..\References\xunit.dll + + + + + Client\AckImpl.cs + + + Client\IAck.cs + + + Client\IO.cs + + + Client\Manager.cs + + + Client\On.cs + + + Client\Socket.cs + + + Client\SocketIOException.cs + + + Client\Url.cs + + + Modules\HasBinaryData.cs + + + Parser\Binary.cs + + + Parser\Packet.cs + + + Parser\Parser.cs + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.sln b/Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.sln new file mode 100644 index 0000000..98896e0 --- /dev/null +++ b/Src/SocketIoClientDotNet.mono/SocketIoClientDotNet.mono.sln @@ -0,0 +1,78 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30723.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.mono", "SocketIoClientDotNet.mono.csproj", "{9C663463-8A1D-4960-A64A-1E0303034FE2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.Tests.mono", "..\SocketIoClientDotNet.Tests.mono\SocketIoClientDotNet.Tests.mono.csproj", "{022DE7B5-7AA6-447A-8720-DDF627C384FD}" +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "grunt", "http://localhost:26409", "{78CADA8C-D36D-4887-8E24-665058A9D81A}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_26409" + Debug.AspNetCompiler.PhysicalPath = "..\..\grunt\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26409\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_26409" + Release.AspNetCompiler.PhysicalPath = "..\..\grunt\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26409\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "..\..\grunt\" + EndProjectSection +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "TestServer", "http://localhost:26412", "{7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_26412" + Debug.AspNetCompiler.PhysicalPath = "..\..\TestServer\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26412\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_26412" + Release.AspNetCompiler.PhysicalPath = "..\..\TestServer\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26412\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "..\..\TestServer\" + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9C663463-8A1D-4960-A64A-1E0303034FE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9C663463-8A1D-4960-A64A-1E0303034FE2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9C663463-8A1D-4960-A64A-1E0303034FE2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9C663463-8A1D-4960-A64A-1E0303034FE2}.Release|Any CPU.Build.0 = Release|Any CPU + {022DE7B5-7AA6-447A-8720-DDF627C384FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {022DE7B5-7AA6-447A-8720-DDF627C384FD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {022DE7B5-7AA6-447A-8720-DDF627C384FD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {022DE7B5-7AA6-447A-8720-DDF627C384FD}.Release|Any CPU.Build.0 = Release|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Release|Any CPU.Build.0 = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Release|Any CPU.Build.0 = Debug|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Src/SocketIoClientDotNet.mono/packages.config b/Src/SocketIoClientDotNet.mono/packages.config new file mode 100644 index 0000000..a688f55 --- /dev/null +++ b/Src/SocketIoClientDotNet.mono/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net35/.gitignore b/Src/SocketIoClientDotNet.net35/.gitignore new file mode 100644 index 0000000..9c4246b --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/.gitignore @@ -0,0 +1,328 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ +**/Properties/launchSettings.json + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# TypeScript v1 declaration files +typings/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +OpenCover/ +EngineIoClientDotNet_Tests/Resources/test.xml +TestServer/test.xml +TestServer/test.xml +TestServer/test.xml diff --git a/Src/SocketIoClientDotNet/Collections.Concurrent/ConcurrentQueue.cs b/Src/SocketIoClientDotNet.net35/Collections.Concurrent/ConcurrentQueue.cs similarity index 100% rename from Src/SocketIoClientDotNet/Collections.Concurrent/ConcurrentQueue.cs rename to Src/SocketIoClientDotNet.net35/Collections.Concurrent/ConcurrentQueue.cs diff --git a/Src/SocketIoClientDotNet.net35/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.net35/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d0a1163 --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet")] +[assembly: AssemblyDescription("Socket.IO Client Library for .Net")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Quobject Software")] +[assembly: AssemblyProduct("SocketIoClientDotNet")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a95e75cd-35e6-4e88-9e22-631e3fd01546")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.8")] +[assembly: AssemblyFileVersion("1.0.8")] diff --git a/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.csproj b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.csproj new file mode 100644 index 0000000..d5d9a1d --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.csproj @@ -0,0 +1,113 @@ + + + + + Debug + AnyCPU + {E3D3A67D-9A1E-4915-8A2D-1C0E4447F5E0} + Library + Properties + SocketIoClientDotNet + SocketIoClientDotNet + v3.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\net35\ + TRACE + prompt + 4 + + + + packages\EngineIoClientDotNet.1.0.8\lib\net35\EngineIoClientDotNet.dll + + + packages\Newtonsoft.Json.9.0.1\lib\net35\Newtonsoft.Json.dll + + + packages\SuperSocket.ClientEngine.Core.0.10.0\lib\net35-client\SuperSocket.ClientEngine.dll + + + + + False + packages\System.Threading.Tasks.Unofficial.3.1\lib\net35\System.Threading.Tasks.NET35.dll + + + + + + + packages\WebSocket4Net.0.15.2\lib\net35\WebSocket4Net.dll + + + + + Client\AckImpl.cs + + + Client\IAck.cs + + + Client\IO_net35.cs + + + Client\Manager_net35.cs + + + Client\On.cs + + + Client\SocketIOException.cs + + + Client\Socket_net35.cs + + + Client\Url.cs + + + Modules\HasBinaryData.cs + + + Parser\Binary.cs + + + Parser\Packet.cs + + + Parser\Parser.cs + + + + + + + + Designer + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.sln b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.sln new file mode 100644 index 0000000..b4a906e --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.sln @@ -0,0 +1,56 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2003 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.net35", "SocketIoClientDotNet.net35.csproj", "{E3D3A67D-9A1E-4915-8A2D-1C0E4447F5E0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.Tests.net35", "..\SocketIoClientDotNet.Tests.net35\SocketIoClientDotNet.Tests.net35.csproj", "{6D90EB17-A71E-4A5F-8BF1-1F7991AEB976}" +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "SocketIoClientDotNet", "..\..\", "{E62008C8-688A-49D1-90A7-D9BCFB0CC4C2}" + ProjectSection(WebsiteProperties) = preProject + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_9968" + Debug.AspNetCompiler.PhysicalPath = "..\..\..\SocketIoClientDotNet\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_9968\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_9968" + Release.AspNetCompiler.PhysicalPath = "..\..\..\SocketIoClientDotNet\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_9968\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + VWDPort = "9968" + SlnRelativePath = "..\..\..\SocketIoClientDotNet\" + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E3D3A67D-9A1E-4915-8A2D-1C0E4447F5E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E3D3A67D-9A1E-4915-8A2D-1C0E4447F5E0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E3D3A67D-9A1E-4915-8A2D-1C0E4447F5E0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E3D3A67D-9A1E-4915-8A2D-1C0E4447F5E0}.Release|Any CPU.Build.0 = Release|Any CPU + {6D90EB17-A71E-4A5F-8BF1-1F7991AEB976}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D90EB17-A71E-4A5F-8BF1-1F7991AEB976}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D90EB17-A71E-4A5F-8BF1-1F7991AEB976}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D90EB17-A71E-4A5F-8BF1-1F7991AEB976}.Release|Any CPU.Build.0 = Release|Any CPU + {E62008C8-688A-49D1-90A7-D9BCFB0CC4C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E62008C8-688A-49D1-90A7-D9BCFB0CC4C2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E62008C8-688A-49D1-90A7-D9BCFB0CC4C2}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {E62008C8-688A-49D1-90A7-D9BCFB0CC4C2}.Release|Any CPU.Build.0 = Debug|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CE07E1B6-6E4A-4C2C-93C6-CD9F47041A80} + EndGlobalSection +EndGlobal diff --git a/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchproject b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchproject new file mode 100644 index 0000000..7ddaf92 --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchproject @@ -0,0 +1,8 @@ + + + + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchsolution b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchsolution new file mode 100644 index 0000000..f774ab9 --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/SocketIoClientDotNet.net35.v3.ncrunchsolution @@ -0,0 +1,6 @@ + + + False + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net35/app.config b/Src/SocketIoClientDotNet.net35/app.config new file mode 100644 index 0000000..c2f907d --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/app.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net35/packages.config b/Src/SocketIoClientDotNet.net35/packages.config new file mode 100644 index 0000000..0858cef --- /dev/null +++ b/Src/SocketIoClientDotNet.net35/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.net40/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d0a1163 --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet")] +[assembly: AssemblyDescription("Socket.IO Client Library for .Net")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Quobject Software")] +[assembly: AssemblyProduct("SocketIoClientDotNet")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a95e75cd-35e6-4e88-9e22-631e3fd01546")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.8")] +[assembly: AssemblyFileVersion("1.0.8")] diff --git a/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.csproj b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.csproj new file mode 100644 index 0000000..a400b7f --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.csproj @@ -0,0 +1,107 @@ + + + + + Debug + AnyCPU + {53AE4914-A35B-406C-91ED-7E3D9C950F45} + Library + Properties + SocketIoClientDotNet + SocketIoClientDotNet + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\net40\ + TRACE + prompt + 4 + + + + packages\EngineIoClientDotNet.1.0.8\lib\net40\EngineIoClientDotNet.dll + + + packages\Newtonsoft.Json.9.0.1\lib\net40\Newtonsoft.Json.dll + + + packages\SuperSocket.ClientEngine.Core.0.10.0\lib\net40-client\SuperSocket.ClientEngine.dll + + + + + + + + + + packages\WebSocket4Net.0.15.2\lib\net40\WebSocket4Net.dll + + + + + Collections.Concurrent\ConcurrentQueue.cs + + + Client\AckImpl.cs + + + Client\IAck.cs + + + Client\IO_net35.cs + + + Client\Manager_net35.cs + + + Client\On.cs + + + Client\SocketIOException.cs + + + Client\Socket_net40.cs + + + Client\Url.cs + + + Modules\HasBinaryData.cs + + + Parser\Binary.cs + + + Parser\Packet.cs + + + Parser\Parser.cs + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.sln b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.sln new file mode 100644 index 0000000..8d84d89 --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27428.2015 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.net40", "SocketIoClientDotNet.net40.csproj", "{53AE4914-A35B-406C-91ED-7E3D9C950F45}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.Tests.net40", "..\SocketIoClientDotNet.Tests.net40\SocketIoClientDotNet.Tests.net40.csproj", "{DD1A4F5E-5606-4989-9DF8-C1BBD50CD850}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {53AE4914-A35B-406C-91ED-7E3D9C950F45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {53AE4914-A35B-406C-91ED-7E3D9C950F45}.Debug|Any CPU.Build.0 = Debug|Any CPU + {53AE4914-A35B-406C-91ED-7E3D9C950F45}.Release|Any CPU.ActiveCfg = Release|Any CPU + {53AE4914-A35B-406C-91ED-7E3D9C950F45}.Release|Any CPU.Build.0 = Release|Any CPU + {DD1A4F5E-5606-4989-9DF8-C1BBD50CD850}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD1A4F5E-5606-4989-9DF8-C1BBD50CD850}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD1A4F5E-5606-4989-9DF8-C1BBD50CD850}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD1A4F5E-5606-4989-9DF8-C1BBD50CD850}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {45C87482-D4FA-4D6D-A43F-DAC8465AF82D} + EndGlobalSection +EndGlobal diff --git a/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchproject b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchproject new file mode 100644 index 0000000..ed5c8a2 --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchproject @@ -0,0 +1,30 @@ + + true + 1000 + false + false + false + true + false + false + false + false + false + true + false + true + false + true + true + true + 60000 + + + + AutoDetect + STA + x86 + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchsolution b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchsolution new file mode 100644 index 0000000..b98737f --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v2.ncrunchsolution @@ -0,0 +1,14 @@ + + 1 + false + false + true + UseDynamicAnalysis + UseStaticAnalysis + UseStaticAnalysis + UseStaticAnalysis + UseDynamicAnalysis + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchproject b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchproject new file mode 100644 index 0000000..7ddaf92 --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchproject @@ -0,0 +1,8 @@ + + + + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchsolution b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchsolution new file mode 100644 index 0000000..f774ab9 --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/SocketIoClientDotNet.net40.v3.ncrunchsolution @@ -0,0 +1,6 @@ + + + False + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/app.config b/Src/SocketIoClientDotNet.net40/app.config new file mode 100644 index 0000000..e722a46 --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/app.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net40/packages.config b/Src/SocketIoClientDotNet.net40/packages.config new file mode 100644 index 0000000..cd120dd --- /dev/null +++ b/Src/SocketIoClientDotNet.net40/packages.config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet/Client/AckImpl.cs b/Src/SocketIoClientDotNet.net45/Client/AckImpl.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/AckImpl.cs rename to Src/SocketIoClientDotNet.net45/Client/AckImpl.cs diff --git a/Src/SocketIoClientDotNet/Client/IAck.cs b/Src/SocketIoClientDotNet.net45/Client/IAck.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/IAck.cs rename to Src/SocketIoClientDotNet.net45/Client/IAck.cs diff --git a/Src/SocketIoClientDotNet/Client/IO.cs b/Src/SocketIoClientDotNet.net45/Client/IO.cs similarity index 87% rename from Src/SocketIoClientDotNet/Client/IO.cs rename to Src/SocketIoClientDotNet.net45/Client/IO.cs index 11da2b1..2db0597 100644 --- a/Src/SocketIoClientDotNet/Client/IO.cs +++ b/Src/SocketIoClientDotNet.net45/Client/IO.cs @@ -15,7 +15,7 @@ public class IO private IO() { - + } public static Socket Socket(string uri) @@ -31,7 +31,7 @@ public static Socket Socket(string uri, Options opts) public static Socket Socket(Uri uri) { return Socket(uri, null); - + } public static Socket Socket(Uri uri, Options opts) { @@ -54,14 +54,14 @@ public static Socket Socket(Uri uri, Options opts) var id = Url.ExtractId(uri); if (!Managers.ContainsKey(id)) { - log.Info( string.Format("new io instance for {0}", id)); + log.Info(string.Format("new io instance for {0}", id)); Managers = Managers.Add(id, new Manager(uri, opts)); } io = Managers[id]; } - //fix: used to paste path and query to namespace. Namespace is only supposed to use path + //fix: used to paste path and query to namespace. Namespace is only supposed to use path return io.Socket(uri.AbsolutePath); } @@ -69,7 +69,7 @@ public static Socket Socket(Uri uri, Options opts) public class Options : Client.Options { - public bool ForceNew = true; + public bool ForceNew = true; public bool Multiplex = true; } } diff --git a/Src/SocketIoClientDotNet/Client/IO_net35.cs b/Src/SocketIoClientDotNet.net45/Client/IO_net35.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/IO_net35.cs rename to Src/SocketIoClientDotNet.net45/Client/IO_net35.cs diff --git a/Src/SocketIoClientDotNet/Client/Manager.cs b/Src/SocketIoClientDotNet.net45/Client/Manager.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/Manager.cs rename to Src/SocketIoClientDotNet.net45/Client/Manager.cs diff --git a/Src/SocketIoClientDotNet/Client/Manager_net35.cs b/Src/SocketIoClientDotNet.net45/Client/Manager_net35.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/Manager_net35.cs rename to Src/SocketIoClientDotNet.net45/Client/Manager_net35.cs diff --git a/Src/SocketIoClientDotNet/Client/On.cs b/Src/SocketIoClientDotNet.net45/Client/On.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/On.cs rename to Src/SocketIoClientDotNet.net45/Client/On.cs diff --git a/Src/SocketIoClientDotNet/Client/Socket.cs b/Src/SocketIoClientDotNet.net45/Client/Socket.cs similarity index 97% rename from Src/SocketIoClientDotNet/Client/Socket.cs rename to Src/SocketIoClientDotNet.net45/Client/Socket.cs index ccd16c6..d48b753 100644 --- a/Src/SocketIoClientDotNet/Client/Socket.cs +++ b/Src/SocketIoClientDotNet.net45/Client/Socket.cs @@ -113,7 +113,7 @@ public override Emitter Emit(string eventString, params object[] args) _args.RemoveAt(_args.Count - 1); } - var jsonArgs = Newtonsoft.Json.JsonConvert.SerializeObject(_args); + var jsonArgs = Parser.Packet.Args2JArray(_args); var parserType = HasBinaryData.HasBinary(jsonArgs) ? Parser.Parser.BINARY_EVENT : Parser.Parser.EVENT; var packet = new Packet(parserType, jsonArgs); @@ -136,7 +136,7 @@ public override Emitter Emit(string eventString, params object[] args) return this; } - + public Emitter Emit(string eventString, IAck ack, params object[] args) { var log = LogManager.GetLogger(Global.CallerName()); @@ -256,7 +256,7 @@ private void OnPacket(Packet packet) } } - + private void OnEvent(Packet packet) { var log = LogManager.GetLogger(Global.CallerName()); @@ -280,7 +280,7 @@ private void OnEvent(Packet packet) if (Connected) { - var eventString = (string) args[0]; + var eventString = (string)args[0]; args.Remove(args[0]); base.Emit(eventString, args.ToArray()); } @@ -288,16 +288,16 @@ private void OnEvent(Packet packet) { ReceiveBuffer = ReceiveBuffer.Enqueue(args); } - } + } private class AckImp : IAck { private Socket socket; private int Id; - private readonly bool[] sent = new[] {false}; + private readonly bool[] sent = new[] { false }; public AckImp(Socket socket, int id) - { + { this.socket = socket; this.Id = id; } @@ -348,12 +348,12 @@ private void EmitBuffered() { List data; ReceiveBuffer = ReceiveBuffer.Dequeue(out data); - var eventString = (string) data[0]; + var eventString = (string)data[0]; base.Emit(eventString, data.ToArray()); } ReceiveBuffer = ReceiveBuffer.Clear(); - + while (SendBuffer.Count() > 0) { Packet packet; diff --git a/Src/SocketIoClientDotNet/Client/SocketIOException.cs b/Src/SocketIoClientDotNet.net45/Client/SocketIOException.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/SocketIOException.cs rename to Src/SocketIoClientDotNet.net45/Client/SocketIOException.cs diff --git a/Src/SocketIoClientDotNet/Client/Socket_net35.cs b/Src/SocketIoClientDotNet.net45/Client/Socket_net35.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/Socket_net35.cs rename to Src/SocketIoClientDotNet.net45/Client/Socket_net35.cs diff --git a/Src/SocketIoClientDotNet/Client/Socket_net40.cs b/Src/SocketIoClientDotNet.net45/Client/Socket_net40.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/Socket_net40.cs rename to Src/SocketIoClientDotNet.net45/Client/Socket_net40.cs diff --git a/Src/SocketIoClientDotNet/Client/Url.cs b/Src/SocketIoClientDotNet.net45/Client/Url.cs similarity index 100% rename from Src/SocketIoClientDotNet/Client/Url.cs rename to Src/SocketIoClientDotNet.net45/Client/Url.cs diff --git a/Src/SocketIoClientDotNet/Modules/HasBinaryData.cs b/Src/SocketIoClientDotNet.net45/Modules/HasBinaryData.cs similarity index 100% rename from Src/SocketIoClientDotNet/Modules/HasBinaryData.cs rename to Src/SocketIoClientDotNet.net45/Modules/HasBinaryData.cs diff --git a/Src/SocketIoClientDotNet/Parser/Binary.cs b/Src/SocketIoClientDotNet.net45/Parser/Binary.cs similarity index 100% rename from Src/SocketIoClientDotNet/Parser/Binary.cs rename to Src/SocketIoClientDotNet.net45/Parser/Binary.cs diff --git a/Src/SocketIoClientDotNet/Parser/Packet.cs b/Src/SocketIoClientDotNet.net45/Parser/Packet.cs similarity index 100% rename from Src/SocketIoClientDotNet/Parser/Packet.cs rename to Src/SocketIoClientDotNet.net45/Parser/Packet.cs diff --git a/Src/SocketIoClientDotNet/Parser/Parser.cs b/Src/SocketIoClientDotNet.net45/Parser/Parser.cs similarity index 98% rename from Src/SocketIoClientDotNet/Parser/Parser.cs rename to Src/SocketIoClientDotNet.net45/Parser/Parser.cs index 0d7417a..4d009e1 100644 --- a/Src/SocketIoClientDotNet/Parser/Parser.cs +++ b/Src/SocketIoClientDotNet.net45/Parser/Parser.cs @@ -96,7 +96,10 @@ private string EncodeAsString(Packet obj) if (obj.Data != null) { if (nsp) str.Append(","); - str.Append(obj.Data); + if ((obj.Data as JToken).HasValues) + { + str.Append(obj.Data); + } } var log = LogManager.GetLogger(Global.CallerName()); diff --git a/Src/SocketIoClientDotNet.net45/Properties/AssemblyInfo.cs b/Src/SocketIoClientDotNet.net45/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d0a1163 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SocketIoClientDotNet")] +[assembly: AssemblyDescription("Socket.IO Client Library for .Net")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Quobject Software")] +[assembly: AssemblyProduct("SocketIoClientDotNet")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a95e75cd-35e6-4e88-9e22-631e3fd01546")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.8")] +[assembly: AssemblyFileVersion("1.0.8")] diff --git a/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.csproj b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.csproj new file mode 100644 index 0000000..c6512b7 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.csproj @@ -0,0 +1,79 @@ + + + + + Debug + AnyCPU + {B4C79CEE-4B09-428A-BFE9-B276DF4F57FA} + Library + Properties + Quobject.SocketIoClientDotNet + SocketIoClientDotNet + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\net45\ + TRACE + prompt + 4 + + + + packages\EngineIoClientDotNet.1.0.8\lib\net45\EngineIoClientDotNet.dll + + + packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll + + + packages\SuperSocket.ClientEngine.Core.0.10.0\lib\net45\SuperSocket.ClientEngine.dll + + + + packages\System.Collections.Immutable.1.5.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll + + + + + packages\WebSocket4Net.0.15.2\lib\net45\WebSocket4Net.dll + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.sln b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.sln new file mode 100644 index 0000000..f0c0e80 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.sln @@ -0,0 +1,78 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30723.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.net45", "SocketIoClientDotNet.net45.csproj", "{B4C79CEE-4B09-428A-BFE9-B276DF4F57FA}" +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "grunt", "http://localhost:26409", "{78CADA8C-D36D-4887-8E24-665058A9D81A}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_26409" + Debug.AspNetCompiler.PhysicalPath = "..\..\grunt\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26409\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_26409" + Release.AspNetCompiler.PhysicalPath = "..\..\grunt\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26409\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "..\..\grunt\" + EndProjectSection +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "TestServer", "http://localhost:26412", "{7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_26412" + Debug.AspNetCompiler.PhysicalPath = "..\..\TestServer\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26412\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_26412" + Release.AspNetCompiler.PhysicalPath = "..\..\TestServer\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_26412\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "..\..\TestServer\" + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.Tests.net45", "..\SocketIoClientDotNet.Tests.net45\SocketIoClientDotNet.Tests.net45.csproj", "{EE298060-EB11-4787-804E-A1CB7EB2F597}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B4C79CEE-4B09-428A-BFE9-B276DF4F57FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B4C79CEE-4B09-428A-BFE9-B276DF4F57FA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B4C79CEE-4B09-428A-BFE9-B276DF4F57FA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B4C79CEE-4B09-428A-BFE9-B276DF4F57FA}.Release|Any CPU.Build.0 = Release|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {78CADA8C-D36D-4887-8E24-665058A9D81A}.Release|Any CPU.Build.0 = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {7EF7CD07-6799-4D20-B19F-DD7CE58B5E30}.Release|Any CPU.Build.0 = Debug|Any CPU + {EE298060-EB11-4787-804E-A1CB7EB2F597}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EE298060-EB11-4787-804E-A1CB7EB2F597}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE298060-EB11-4787-804E-A1CB7EB2F597}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EE298060-EB11-4787-804E-A1CB7EB2F597}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchproject b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchproject new file mode 100644 index 0000000..7ddaf92 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchproject @@ -0,0 +1,8 @@ + + + + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchsolution b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchsolution new file mode 100644 index 0000000..f774ab9 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/SocketIoClientDotNet.net45.v3.ncrunchsolution @@ -0,0 +1,6 @@ + + + False + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net45/app.config b/Src/SocketIoClientDotNet.net45/app.config new file mode 100644 index 0000000..3f54515 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.net45/packages.config b/Src/SocketIoClientDotNet.net45/packages.config new file mode 100644 index 0000000..a167ad3 --- /dev/null +++ b/Src/SocketIoClientDotNet.net45/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.csproj b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.csproj new file mode 100644 index 0000000..e57ad1c --- /dev/null +++ b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.csproj @@ -0,0 +1,41 @@ + + + + netstandard1.3 + Quobject.SocketIoClientDotNet + SocketIoClientDotNet + 1.0.5.0 + 1.0.5.0 + 1.0.7 + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.sln b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.sln new file mode 100644 index 0000000..7e05537 --- /dev/null +++ b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26430.16 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.netstandard1.3", "SocketIoClientDotNet.netstandard1.3.csproj", "{C8597B7D-FB47-4E8C-B6CC-F6A1A7EB4A66}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketIoClientDotNet.Tests.netstandard1.3", "..\SocketIoClientDotNet.Tests.netstandard1.3\SocketIoClientDotNet.Tests.netstandard1.3.csproj", "{8C547F34-1594-4185-85CC-2FAB00867912}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C8597B7D-FB47-4E8C-B6CC-F6A1A7EB4A66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C8597B7D-FB47-4E8C-B6CC-F6A1A7EB4A66}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C8597B7D-FB47-4E8C-B6CC-F6A1A7EB4A66}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C8597B7D-FB47-4E8C-B6CC-F6A1A7EB4A66}.Release|Any CPU.Build.0 = Release|Any CPU + {8C547F34-1594-4185-85CC-2FAB00867912}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8C547F34-1594-4185-85CC-2FAB00867912}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8C547F34-1594-4185-85CC-2FAB00867912}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8C547F34-1594-4185-85CC-2FAB00867912}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchproject b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchproject new file mode 100644 index 0000000..7ddaf92 --- /dev/null +++ b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchproject @@ -0,0 +1,8 @@ + + + + + + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchsolution b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchsolution new file mode 100644 index 0000000..f774ab9 --- /dev/null +++ b/Src/SocketIoClientDotNet.netstandard1.3/SocketIoClientDotNet.netstandard1.3.v3.ncrunchsolution @@ -0,0 +1,6 @@ + + + False + True + + \ No newline at end of file diff --git a/Src/SocketIoClientDotNet/SocketIoClientDotNet.csproj b/Src/SocketIoClientDotNet/SocketIoClientDotNet.csproj deleted file mode 100644 index a5757e7..0000000 --- a/Src/SocketIoClientDotNet/SocketIoClientDotNet.csproj +++ /dev/null @@ -1,49 +0,0 @@ - - - - net35;net40;net45;netstandard1.3;netstandard2.0 - Quobject.SocketIoClientDotNet - SocketIoClientDotNet - 1.0.7 - false - true - This is the Socket.IO Client Library for .NET. - https://github.com/Quobject/SocketIoClientDotNet/ - https://github.com/Quobject/SocketIoClientDotNet/ - Socket.IO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/TestServer/.gitignore b/TestServer/.gitignore index 8f3af21..0807c6f 100644 --- a/TestServer/.gitignore +++ b/TestServer/.gitignore @@ -1,2 +1,3 @@ node_modules test.xml +*.pem diff --git a/TestServer/server.js b/TestServer/server.js index 5a8dfb7..1a8d51f 100644 --- a/TestServer/server.js +++ b/TestServer/server.js @@ -9,9 +9,9 @@ app = express(), fs = require('fs'), options = { - key: fs.readFileSync(__dirname + '/testme.quobject.com.key'), - cert: fs.readFileSync(__dirname + '/testme.quobject.com.cert'), - requestCert: true + key: fs.readFileSync(__dirname + '/privkey.pem'), + cert: fs.readFileSync(__dirname + '/fullchain.pem'), + requestCert: false }, io, io_ssl, diff --git a/TestServer/test.txt b/TestServer/test.txt index 2ce2942..d728d59 100644 --- a/TestServer/test.txt +++ b/TestServer/test.txt @@ -1 +1 @@ -testcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקה \ No newline at end of file +testcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקהtestcsdataてすとבדיקה \ No newline at end of file diff --git a/TestServer/testme.quobject.com.cert b/TestServer/testme.quobject.com.cert deleted file mode 100644 index ac1e2a5..0000000 --- a/TestServer/testme.quobject.com.cert +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDDzCCAfegAwIBAgIJANW6WUwZpQs+MA0GCSqGSIb3DQEBBQUAMB4xHDAaBgNV -BAMME3Rlc3RtZS5xdW9iamVjdC5jb20wHhcNMTQwODI2MTkwMDQzWhcNMjQwODIz -MTkwMDQzWjAeMRwwGgYDVQQDDBN0ZXN0bWUucXVvYmplY3QuY29tMIIBIjANBgkq -hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtJCU+74bnPPYg0SPBCws1WYdT7+lXDaf -IZdCLXU3RT/hAszD/Hi8oCijD1BvfjRcPr9XAqKBWMeLTorV8YL/I5g+5Nzmcaep -LjnmQV3YDR+ioBfx+PRwF8gx/ZGdmK/hcoFq27xbF6cLI4mbvddlwUdKEGgZ+g/a -B+CzFF9xCKoll6zqnnHS+DImGNbH4+ex33vQj4yoQrRT5E85s7/nSwvbDve+AlJ3 -ChJVod4kepwixhV90ENP0u65lpgi7ipIDCNxtf/7ZazsSj33eSKioz3xy2mFX7WO -Fqtg1f3h/njH4uI6RkPUbuFyj3IOqv6OQwbl7NXbzuPfkmGC7QBGqwIDAQABo1Aw -TjAdBgNVHQ4EFgQUE28o7tGA1Aw53KhiC0PyTDlA29EwHwYDVR0jBBgwFoAUE28o -7tGA1Aw53KhiC0PyTDlA29EwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC -AQEAqbOxXwelUcV9psZl8fr+FIbkl5/mLqZV1RdrHCkUD2OwGH5M8AlCqj42hmxi -n6KIgE45MOo9UYHWNQ1Aem3ziEGPRDVZpsoNW1GfG6XnAH5r1DK34Td7lU1JebNN -hxqV3AfVfeqrW1ZOmqEFJ95VwCoN1RPPh3MgFI1zjOjEJyk0pPxFNFRtpIHfLgve -TFe88aVMAbDLVzGyDkkS2DxNvyZ5153W3JRh2u8PqhLSzCIGF+IcCOrwZya+VC63 -wWg8AckPXIGmhU/6P4zdQ/WCZ/tqErFYls49zwp6xAfvvfdTbqYCSNyOqsTKbYyP -qAd5L9YKITYYa8IupRyIJGbXnw== ------END CERTIFICATE----- diff --git a/TestServer/testme.quobject.com.key b/TestServer/testme.quobject.com.key deleted file mode 100644 index a6d0c57..0000000 --- a/TestServer/testme.quobject.com.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEAtJCU+74bnPPYg0SPBCws1WYdT7+lXDafIZdCLXU3RT/hAszD -/Hi8oCijD1BvfjRcPr9XAqKBWMeLTorV8YL/I5g+5NzmcaepLjnmQV3YDR+ioBfx -+PRwF8gx/ZGdmK/hcoFq27xbF6cLI4mbvddlwUdKEGgZ+g/aB+CzFF9xCKoll6zq -nnHS+DImGNbH4+ex33vQj4yoQrRT5E85s7/nSwvbDve+AlJ3ChJVod4kepwixhV9 -0ENP0u65lpgi7ipIDCNxtf/7ZazsSj33eSKioz3xy2mFX7WOFqtg1f3h/njH4uI6 -RkPUbuFyj3IOqv6OQwbl7NXbzuPfkmGC7QBGqwIDAQABAoIBAQCy2/0YGUqVAF7a -ONFKGtAWWt5yHq6YV2ruBT0CdnfXWt1yvo7sylReeaJ8CvtGEmvFpBd2fq6N2Ku/ -k3s1jsNY6Ph0D/UdZC0Lo0LYQTNAXLPkzZNdPhTDGgWa3eE0XBSALn5BR6UcGtXH -0Am71V/wQsO02MnSkF0zLHt3lMsM/oPoJx8S6Tw+PpxGOhwQipdLMjKH49vyy5IM -pS5OiGuAjmIq7bB0QPbgeZkQgSVgvZ+XP4OLuRt7I6GwMnChrVucybYWuetTSoUI -uyRmOtlwUFBVJdSwEY5RfdF71kOH9DPpuTY6M4UJGdprEM1N1dX0WF2y/5D+ExeA -rb06SXrxAoGBANfSja+YFn5+M8N/favt2/nGP6ePQJutjeiz0PgYOpe/85MrqNK/ -5rlU89QNDm616xEJnsPO/J/ZFDf+2rhuTfNCeNtzA/10j07xhHYN62Us9S5bsaXC -JSMgdLcAnbUAXRJVrxPoUYgIoJIR65IG9UAHshoAysGPfBKQqR4hWKsHAoGBANYt -wMnPA2sZH651pIe9lMETHeY5AIx7QGEDtu12raTgHaQanJFTXz5oXsEkJYUJKVvK -XS2I74ZbIjvruASj2Tf7/L21xxo2JmxJCXVMlgyrVRKBIb9d0Ea7tUqLsIukYV3X -iXrSabVtLLJA/SCtZME0tHrc/4RJwLIG0XVltMo9AoGARrQl0qbCh8IUdzFnHFIa -RKOb6urVQasD2H5AMWbOmzQ5ObeN4S0ZCxI3pvp4BfD3B2fdaUyAGmXlZ8rIIK+S -PeVC7rGpVvk+kaAxwvMgcM7fq8ZCVolZ3T4evm0nPUrXMtB7QMxVGXmqEPBp+jbp -VYav5DDqO6sj/HkDzmkiQTUCgYEAxXMUonfITPmybWFjNwidlImNLOssCFav+UA1 -aiHY34EFkn4+DPPxgFUz1Zb/R/A0Qr0CvbHaL+DgZKFg2lY7MROL41Erpox5S6bh -o1PhmPhyy0Zk2Ekic7Mk5P522aXHZX4I7kQA1BM7+3FSasevdTajlAkdPtXHYdhL -TZFf5HkCgYB4qGARdPa0JJ+YbNilsykkIKs602Faen7qR1uVYFzbM+GUOjMrHkxt -mmLE4+IrkhrWKQTW4vDAlIvTBZYJYeXZtu0IRilKccSExcKDhBmWhIDyFqRoyl3V -OYmrskNT5YtBTEFKerAOKJ5LXxVQQ7k2YDz3uSli3NNsCMpfqo7Lxg== ------END RSA PRIVATE KEY----- diff --git a/TestServer/testme.quobject.com.p7b b/TestServer/testme.quobject.com.p7b deleted file mode 100644 index 32bb27d0b410d11c767eaef79216e47f9ae5054e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 834 zcmXqLVzy)B)N1o+`_9YA&a|M3S>K?ES(}NG(U8G_8zI98lo1BX@EbHSeqX@M#K^?N z$#8X7q>toMZaV{BxI#u&Rt5t(Lm2}pHs(+kW**^^)Z&udRK3E|{G_bZe^xR{z485y=rnDTp{ z^qkK(nqB%?babw!$@=eK8e=wJak`Uksky8DL#8u_|5WT*ps|=gAivHe#%_N&)1tXv6F9qT!4F67?J7fLBqQI?lnE1b3j zKk>KRy#Kj3_ieuK`fPtTZEHD;i`B=nQM1=D--d$|C!ee=7MH093Cm&0P+ZPSwLDI@B z5(Z)o*cI@A6bQ4h8Za|5{zndTU^D~6oRMMW=8f^}O9PMAE<2X`@z+0*wkOl)Khs+l zdR07IMpJ}8d4oiq&j(JYRd!}=IZ5*ubu{={8oaU%Y`kX5>rj>Zxx=yF#WZr+DcUS{)tcH)|oQ`n}KtTD(_<&$kyVi1Zfs zyf~t+X|m*xt4T=ilE(Xb-1mIK_k3LH!?@vexZx%~PoWz&zWdcGug|@9XG-F&_x!7b zE}cP>b q@Au%mWlSD-`c@q|mD|(5g1u7z8keG(MD`)Qr7|5VY1ii)G5`Q4rcBBJ diff --git a/grunt/config.json b/grunt/config.json index 5282e8d..7101a23 100644 --- a/grunt/config.json +++ b/grunt/config.json @@ -1,9 +1,9 @@ { - "version":"1.0.7.1", - "server":{ - "port":80, - "ssl_port":443, - "hostname":"127.0.0.1" + "version":"1.0.8", + "server": { + "port": 80, + "ssl_port": 443, + "hostname": "testme.quobject.io" }, "win":{ "powershell":"C:/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe", diff --git a/grunt/templates/AssemblyInfo.cs b/grunt/templates/AssemblyInfo.cs index 137975f..0827799 100644 --- a/grunt/templates/AssemblyInfo.cs +++ b/grunt/templates/AssemblyInfo.cs @@ -9,7 +9,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Quobject Software")] [assembly: AssemblyProduct("SocketIoClientDotNet")] -[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyCopyright("Copyright © 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/grunt/templates/SocketIoClientDotNet.nuspec b/grunt/templates/SocketIoClientDotNet.nuspec index ff821c4..8e018b8 100644 --- a/grunt/templates/SocketIoClientDotNet.nuspec +++ b/grunt/templates/SocketIoClientDotNet.nuspec @@ -13,20 +13,20 @@ - + - + - - + + - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers - - - - - - - - all - runtime; build; native; contentfiles; analyzers - - - - - - - - all - runtime; build; native; contentfiles; analyzers - - - - - - - - all - runtime; build; native; contentfiles; analyzers - - - - -