Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for netstandard2.0 #47

Merged
merged 9 commits into from
Dec 20, 2017
Merged

Added support for netstandard2.0 #47

merged 9 commits into from
Dec 20, 2017

Conversation

droyad
Copy link
Contributor

@droyad droyad commented Dec 13, 2017

Breaking Changes

  • Support for netstandard1.5 has been dropped
  • Minimum Newtonsoft.Json version is 10.0.3
  • For the netstandard build of the library, configuration is no longer read from appsettings.json, but via ConfigurationManager just like the netfx build

Changes

  • Now supports netstandard2.0
  • All builds support WebSockets
  • netstandard build is now almost identical to the netfx build

Notes
WebSocket Polling connections cannot be initiated on .NET Core. However it can accept incoming WebSocket requests.

@droyad droyad added this to the 3.0.0 milestone Dec 13, 2017
Copy link
Contributor

@MichaelJCompton MichaelJCompton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Contributor

@MichaelJCompton MichaelJCompton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...now with approve

@@ -25,10 +25,9 @@ enum HANDLE_FLAGS : uint

public class SecureListener : IDisposable
{
#if CAN_GET_SOCKET_HANDLE
[DllImport("kernel32.dll", SetLastError = true)]
static extern bool SetHandleInformation(IntPtr hObject, HANDLE_FLAGS dwMask, HANDLE_FLAGS dwFlags);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this going to explode on non-windows?

@droyad droyad merged commit 96acdca into master Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants