lwsjs / local-web-server

A lean, modular web server for rapid full-stack development.
MIT License
1.22k stars 86 forks source link

HTTP2 Push support #94

Closed bennypowers closed 5 years ago

bennypowers commented 6 years ago

Looks like there's a doPush function in the http2 module, but there's no documentation on how to use it or set up server push with ws. also it looks like that function isn't exported so it can't be used anyway. Please correct me if i'm wrong.

In any event, there should be some documentation on how to set up server push

75lb commented 6 years ago

thelws-http2 module is deprecated as ws now supports HTTP2 natively using node's built-in support.

pushStream is not yet supported by local-web-server. Contributions welcome.