@@ -7,8 +7,8 @@ This module provides an `http.Agent` implementation that connects to a specified
77HTTP or HTTPS proxy server, and can be used with the built-in ` https ` module.
88
99Specifically, this ` Agent ` implementation connects to an intermediary "proxy"
10- server and issues the CONNECT HTTP method, which tells the proxy to open a
11- direct TCP connection to the endpoint server.
10+ server and issues the [ CONNECT HTTP method] [ CONNECT ] , which tells the proxy to
11+ open a direct TCP connection to the destination server.
1212
1313Since this agent implements the CONNECT HTTP method, it also works with other
1414protocols that use this method when connecting over proxies (i.e. WebSockets).
100100
101101The ` HttpsProxyAgent ` class implements an ` http.Agent ` subclass that connects
102102to the specified "HTTP(s) proxy server" in order to proxy HTTPS and/or WebSocket
103- requests. This is achieved by using the HTTP ` CONNECT ` method.
103+ requests. This is achieved by using the [ HTTP ` CONNECT ` method] [ CONNECT ] .
104104
105105The ` opts ` argument may either be a string URI of the proxy server to use, or an
106106"options" object with more specific properties:
@@ -137,3 +137,5 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
137137CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
138138TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
139139SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
140+
141+ [ CONNECT ] : http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling
0 commit comments