File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -42,20 +42,18 @@ let mut stream = connector.connect(dnsname, stream).await?;
42
42
43
43
### Client Example Program
44
44
45
- See [ examples/client] ( examples/client/src/main .rs ) . You can run it with:
45
+ See [ examples/client.rs ] ( examples/client.rs ) . You can run it with:
46
46
47
47
``` sh
48
- cd examples/client
49
- cargo run -- hsts.badssl.com
48
+ cargo run --example client -- hsts.badssl.com
50
49
```
51
50
52
51
### Server Example Program
53
52
54
- See [ examples/server] ( examples/server/src/main .rs ) . You can run it with:
53
+ See [ examples/server.rs ] ( examples/server.rs ) . You can run it with:
55
54
56
55
``` sh
57
- cd examples/server
58
- cargo run -- 127.0.0.1:8000 --cert mycert.der --key mykey.der
56
+ cargo run --example server -- 127.0.0.1:8000 --cert mycert.der --key mykey.der
59
57
```
60
58
61
59
### License & Origin
You can’t perform that action at this time.
0 commit comments