From f26e005fc856b582986f9caea164a2e21a2c6699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Sat, 17 Nov 2018 17:15:37 +0100 Subject: [PATCH] Improve documentation for examples and link to other projects --- README.md | 4 ++-- examples/01-http.php | 8 ++++++++ examples/02-https.php | 8 ++++++++ examples/03-proxy-chaining.php | 8 ++++++++ examples/04-local-dns.php | 8 ++++++++ examples/11-server.php | 5 +++++ examples/12-server-with-password.php | 11 +++++++++++ examples/13-server-blacklist.php | 8 +++++++- examples/21-server-proxy-chaining.php | 7 ++++++- .../22-server-proxy-chaining-from-random-pool.php | 7 ++++++- examples/31-server-secure.php | 5 +++++ examples/32-http-secure.php | 8 ++++++++ 12 files changed, 82 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5d3331c..df02ca0 100644 --- a/README.md +++ b/README.md @@ -237,8 +237,8 @@ HTTP operates on a higher layer than this low-level SOCKS implementation. If you want to issue HTTP requests, you can add a dependency for [clue/reactphp-buzz](https://github.com/clue/reactphp-buzz). It can interact with this library by issuing all -[http requests through a SOCKS server](https://github.com/clue/reactphp-buzz#socks-proxy). -This works for both plain HTTP and SSL encrypted HTTPS requests. +[HTTP requests through a SOCKS proxy server](https://github.com/clue/reactphp-buzz#socks-proxy). +This works for both plain HTTP and TLS-encrypted HTTPS requests. #### Protocol version diff --git a/examples/01-http.php b/examples/01-http.php index 584b6c4..37a88a3 100644 --- a/examples/01-http.php +++ b/examples/01-http.php @@ -1,5 +1,13 @@