We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b9810 commit 33a80a1Copy full SHA for 33a80a1
src/SocketIOClient.Newtonsoft.Json/NewtonsoftJsonSerializer.cs
@@ -7,13 +7,6 @@ namespace SocketIOClient.Newtonsoft.Json
7
{
8
public class NewtonsoftJsonSerializer : IJsonSerializer
9
10
- public NewtonsoftJsonSerializer(int eio)
11
- {
12
- this.eio = eio;
13
- }
14
-
15
- readonly int eio;
16
17
public Func<JsonSerializerSettings> JsonSerializerOptions { get; }
18
19
public JsonSerializeResult Serialize(object[] data)
@@ -49,7 +42,7 @@ private JsonSerializerSettings GetOptions()
49
42
JsonSerializerSettings options;
50
43
if (OptionsProvider != null)
51
44
52
- options = Options();
45
+ options = OptionsProvider();
53
46
}
54
47
else
55
48
0 commit comments