Reading HttpResponse data from %Net.HttpRequest

Hi guys,

I am using the %Net.HttpRequest method to get data from a server.

The server will continuously send data. Is there any way that i can able to read the HttpResponse data line by line so that if at a particular line i may terminate the request.

Please advice.

Thanks,

Arya

  • 0
  • 0
  • 385
  • 0
  • 1

Answers

Not directly. You receive the whole response and can process it line by line, terminating wherever you wish.

I'd recommend using WebSockets if possible.