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