]> git.lizzy.rs Git - connect-rs.git/blob - examples/tls-echo-server/README.md
eeafd03012e993d557b50ad765faa3317d3d0ef7
[connect-rs.git] / examples / tls-echo-server / README.md
1 # seam-channel tls-echo-server example
2
3 This example program will:
4
5 1. Bind to an IP address
6 2. Accept any number of secure TLS connections
7 3. Handle each connection by:
8     1. Waiting for `String` messages to be received
9     2. Echoing the `String` message back to the source
10
11 ## Usage
12
13 ```
14 export RUST_LOG=info
15 cargo run <ip-address-to-bind-to> <cert-file> <key-file>
16 ```
17
18 ## Example Usage
19
20 ```
21 export RUST_LOG=info
22 cargo run 127.0.0.1:5678 end.cert end.rsa
23 ```