C
C#2y ago
Hulkstance

How do I efficiently stream data to disk from a websocket client?

I'm consuming realtime data from a websocket client and I want to be writing it into a .txt file.
ws.OnMessage += (sender, e) => {
... do something with e.RawData
};
ws.OnMessage += (sender, e) => {
... do something with e.RawData
};
What is the most efficient way to do so?
0 Replies
No replies yetBe the first to reply to this messageJoin