You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lloyd Brookes edited this page Mar 6, 2018
·
8 revisions
This feature requires node version 8.4.0 or above
As an HTTP2 server must always be secure (else modern browsers will ignore it), launching an HTTP2 server is identical to launching an HTTPS server with the one exception, you additionally set the --http2 flag.
So, typical usage looks the same. Launch HTTP2 using the built-in SSL certificate:
$ ws --http2
Launch using your own private key and certificate: