Streaming of files by HTTP on Node

2

Hello, I'm developing a system in which one of the fundamental parts is to transmit a file via JS Node. Suppose I have a A connection , this connection is uploading a file via HTTP. And there is also a B connection , this connection wants to download the file that A connection is sending, also via HTTP. All the solutions I've found consist of waiting for the Connection A to finish its upload altogether, so that Connection B can download the file. This is not very helpful, because in large files this transfer would last a long time.
Is there any way to stream that file, so that Connection B will download the file as it is powered up by Connection A ? If so, I would like to know how.

    
asked by anonymous 21.01.2017 / 20:11

0 answers