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

socket.io-client-sharp 4.0.0 #359

Closed
wants to merge 3 commits into from

Conversation

StephenHodgson
Copy link

@StephenHodgson StephenHodgson commented Feb 20, 2024

  • Closes Json Serializer Options #358
  • Changed all projects to target both .net standard 2.0 and .net 4.6.2
    • Except SocketIO.Serializer.MessagePack
  • Changed SocketIO constructor to include ISerializer
    • ISerializer defaults to first available based on target framework
      • .net 4.6.2 SocketIO.Serializer.NewtonsoftJson
      • .net Standard 2.0+ SocketIO.Serializer.SystemTextJson
  • Changed EventHandlers delegates to invoke object arrays instead of JsonElement arrays

- Changed all projects to target both .net standard 2.0 and .net 4.6.2
  - Except `SocketIO.Serializer.MessagePack`
- Changed `SocketIO` constructor to include `ISerializer`
  - `ISerializer` defaults to first available based on target framework
    - .net 4.6.2 `SocketIO.Serializer.NewtonsoftJson`
    - .net Standard 2.0+ `SocketIO.Serializer.SystemTextJson`
- Changed `EventHandlers` delegates to invoke `object` arrays instead of `JsonElement` arrays
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.

Json Serializer Options
1 participant