Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Commit

Permalink
release/nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronAP committed Aug 20, 2017
1 parent 17a65b1 commit e846d9f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion PureWebsockets.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PureWebsocketsTest", "src\PureWebsocketsTest\PureWebsocketsTest.csproj", "{DB9C7CFC-C334-4687-A81F-73516258F7B1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PureWebSockets", "src\PureWebSockets\PureWebSockets.csproj", "{2E742D78-651E-41C4-9908-72E48874FF8C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PureWebSockets_WebsocketLite", "src\PureWebSockets\PureWebSockets_WebsocketLite.csproj", "{2E742D78-651E-41C4-9908-72E48874FF8C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
2 changes: 1 addition & 1 deletion src/PureWebsockets/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Coinigy Inc.")]
[assembly: AssemblyProduct("PureWebSockets")]
[assembly: AssemblyProduct("PureWebSockets_WebsocketLite")]
[assembly: AssemblyTrademark("2017 Coinigy Inc.")]

// Setting ComVisible to false makes the types in this assembly not visible
Expand Down
3 changes: 2 additions & 1 deletion src/PureWebsockets/PureWebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public class PureWebSocket : IDisposable
public Dictionary<string, string> RequestHeaders { get; set; }
public int DisconnectWait { get; set; }

public event Data OnData;
public event Message OnMessage;
public event StateChanged OnStateChanged;
public event Opened OnOpened;
Expand Down Expand Up @@ -156,6 +155,8 @@ public async Task<bool> ConnectAsync()
}
}).Wait(15000);
Log($"Connect result: {_ws.IsConnected}");
if (_ws.IsConnected)
OnOpened?.Invoke();
return _ws.IsConnected;
}
catch (Exception ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,24 @@
<PropertyGroup>
<VersionPrefix>1.4.0</VersionPrefix>
<TargetFramework>netstandard1.4</TargetFramework>
<AssemblyName>PureWebSockets</AssemblyName>
<PackageId>PureWebSockets</PackageId>
<AssemblyName>PureWebSockets_WebsocketLite</AssemblyName>
<PackageId>PureWebSockets_WebsocketLite</PackageId>
<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion>
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<Version>1.5.0</Version>
<Authors>ByronP</Authors>
<Description>A cross platform WebSocket client library for .NET NetStandard core (backed by WebsocketClientLite).</Description>
<PackageReleaseNotes>See git for list of changes.</PackageReleaseNotes>
<RepositoryUrl>https://github.com/ByronAP/PureWebSockets</RepositoryUrl>
<PackageIconUrl>https://raw.githubusercontent.com/coinigy/PureWebSockets/master/PWSIcon.ico</PackageIconUrl>
<PackageProjectUrl>https://github.com/ByronAP/PureWebSockets</PackageProjectUrl>
<Copyright>Copyright 2017 Coinigy Inc.</Copyright>
<PackageTags>websocket, netstandard, core, client, websockets</PackageTags>
<PackageLicenseUrl>https://raw.githubusercontent.com/ByronAP/PureWebSockets/master/LICENSE</PackageLicenseUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/PureWebsocketsTest/PureWebsocketsTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\PureWebSockets\PureWebSockets.csproj" />
<ProjectReference Include="..\PureWebSockets\PureWebSockets_WebsocketLite.csproj" />
</ItemGroup>

</Project>

0 comments on commit e846d9f

Please sign in to comment.