W
William Spitzer
So I was wondering how one would capture a continuous stream of data
(for instance a net radio station or a webcam) with the net/http
library? When I use the Net::HTTP#request_get method, it simply hangs
and never gives me any data. I opened up a network monitoring program
and indeed the data is coming in, it's just the only way I can get the
data to stop streaming is to throw an exception, which makes the data
disappear. Does anyone know of a way to do this?
(for instance a net radio station or a webcam) with the net/http
library? When I use the Net::HTTP#request_get method, it simply hangs
and never gives me any data. I opened up a network monitoring program
and indeed the data is coming in, it's just the only way I can get the
data to stop streaming is to throw an exception, which makes the data
disappear. Does anyone know of a way to do this?