I am working on a way to run traditionally server-side stacks (think 'express') in the browser and need a way to serve requests over WebRTC. It's surprisingly hard to find a generic HTTP parser/generator that operates on strings or streams instead of Node TCP sockets. And HTTP2 would be even better because of its support for multiplexing concurrent requests on the same stream, in this case the WebRTC data channel. However, I haven't found an HTTP2 client library that could sit at the other end of the stream and talk to spdy-transport, which AFAICT is just the server half of the conversation. Have you thought about that or worked on a client that I just haven't found?
I am working on a way to run traditionally server-side stacks (think 'express') in the browser and need a way to serve requests over WebRTC. It's surprisingly hard to find a generic HTTP parser/generator that operates on strings or streams instead of Node TCP sockets. And HTTP2 would be even better because of its support for multiplexing concurrent requests on the same stream, in this case the WebRTC data channel. However, I haven't found an HTTP2 client library that could sit at the other end of the stream and talk to spdy-transport, which AFAICT is just the server half of the conversation. Have you thought about that or worked on a client that I just haven't found?