Skip to content

Commit

Permalink
docs(example): fix http_proxy comment (#2324)
Browse files Browse the repository at this point in the history
  • Loading branch information
leshow committed Nov 9, 2020
1 parent 71f3402 commit 5438e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/http_proxy.rs
Expand Up @@ -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));
Expand Down

0 comments on commit 5438e9b

Please sign in to comment.