-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hey,
I've been looking at the compiled source code for the dotnet client, and there are some potential pitfalls in async calls not beeing awaited, like the websocket connection is created through System.Net.WebSockets.ClientWebSocket and that is connecting to the lightstreamer server with a call to ConnectAsync method.
But the lightstreamer library is making that call inside a constructor which as not async and bad practice it would be more reasonable to be used like this:
var ws = new WebSocket();
await ws.ConnectAsync();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels