Read SslStream continuously in C# Web MVC 5 project
问题 tl;dr: "I would like to read an SslStream continuously in C# but I can't figure out the best way." Some background: I'm getting stock data from a stream that I would like to present in a web interface. The stream sends a heartbeat every 5 seconds and you can also subscribe/unsubscribe to stock prices and news etc. https://api.test.nordnet.se/next/2/api-docs/docs/feeds Currently I'm using SslTcpClient from MSDN example to read and write to the stream and it works OK. https://msdn.microsoft.com