Answer the question
In order to leave comments, you need to log in
How to run binary stream from client to server?
I want to create a stream from the browser (or other client) to the server. Can this be done using HTTP?
Answer the question
In order to leave comments, you need to log in
It is possible, via websocket. There is even a ready-made npm package for these purposes websocket-stream
Use HTML5 websockets using the Node Streams API.
Usage
This module works in Node or in Browsers that support WebSockets. You can use browserify to package this module for browser use.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question