To install the HTTP/1.1 server, run:
cd Express
npm install
To run the HTTP/1.1 server, execute the following in a terminal:
cd Express
node myserver.js
To run the HTTP/2 server, execute the following in a terminal:
cd HTTP2
node server.js
Running the HTTP/3 server requires installing the aioquic library
.
After installation, please run the following commands from the root directory in separate terminals to access the server:
python HTTP3/http3_server.py --certificate HTTP3/ssl_cert.pem --private-key HTTP3/ssl_key.pem
google-chrome \
--enable-experimental-web-platform-features \
--ignore-certificate-errors-spki-list=BSQJ0jkQ7wwhR7KvPZ+DSNk2XTZ/MS6xCbo9qu++VdQ= \
--origin-to-force-quic-on=localhost:4433 \
https://localhost:4433/