๐Ÿ“ฆ darrachequesne / webtransport-example

๐Ÿ“„ README.md ยท 25 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25```
# install dependencies
$ npm install

# generate a certificate
$ ./generate_cert.sh

# start the server
$ node index.js

# start the client
$ node client.js

# open Chrome
$ ./open_chrome.sh
```

You need to create an alias in your `/etc/hosts` file:

```
$ cat /etc/hosts
127.0.0.1   localhost
127.0.0.1   example.com
```