docs(example): fix http_proxy comment (#2324)

This commit is contained in:
Evan Cameron
2020-11-09 11:07:12 -05:00
committed by GitHub
parent 71f3402421
commit 5438e9b7bf

View File

@@ -18,8 +18,8 @@ type HttpClient = Client<hyper::client::HttpConnector>;
// 2. config http_proxy in command line
// $ export http_proxy=http://127.0.0.1:8100
// $ export https_proxy=http://127.0.0.1:8100
// 3. send requests
// $ curl -i https://www.some_domain.com/
// 3. send requests (don't use a domain name)
// $ curl -i https://8.8.8.8
#[tokio::main]
async fn main() {
let addr = SocketAddr::from(([127, 0, 0, 1], 8100));