I am working on a project which involves the implementation of an HTTPS "Events Streamer". I need to open a streaming connection to receive async real time authorized accounts’ events. Ideally, I need a class object that allows me to initiate the connection and receive the chunked async messages through an event handler into my main form.
Aside from the token requirement which I know how to handle because I already have two function calls already made, one is a WebGetRequest function and the other is a WebPostRequest function. They are designed as a simple request/response pattern. However, the Events Streaming seems to be a chunked method where chunks are sent periodically and then need to be received and sent through and event handler into the main form. I don't quite know how to implement such a thing.
Here is the exact reference to what I am talking about:
Refer to the Events Streaming section.
I need some sample vb.net code to get me going with this...
Very much appreciate the help...