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 a HTTP2 connection must always be secure (modern browsers demand it), launching an HTTP2 server is identical to launching an HTTPS server with one exception - you set the --http2 flag instead of --https.
So, typical usage looks the same. Launch HTTP2 using the built-in SSL certificate:
$ ws --http2
Launch using your own private key and certificate: