Skip to content

Commit

Permalink
doc/index.html: grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Feb 25, 2011
1 parent 347753a commit 5b5bfe1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h3>How does it work?</h3>
<p>
Additionally, <code>Socksify::resolve</code> can be used to
resolve hostnames to IPv4 addresses via SOCKS. There is also
<code>socksify/http</code> library enabling Net::HTTP to work
<code>socksify/http</code> enabling Net::HTTP to work
via SOCKS.
</p>

Expand Down Expand Up @@ -68,9 +68,9 @@ <h3>Explicit SOCKS usage in a Ruby program</h3>

<h3>Use Net::HTTP explicitly via SOCKS</h3>
<p>
Require additional library <code>socksify/http</code>
and use <code>Net::HTTP.SOCKSProxy</code> method. It
is similar to <code>Net:HTTP.Proxy</code> from Ruby
Require the additional library <code>socksify/http</code>
and use the <code>Net::HTTP.SOCKSProxy</code> method. It
is similar to <code>Net:HTTP.Proxy</code> from the Ruby
standard library:
</p>
<pre>
Expand All @@ -82,7 +82,7 @@ <h3>Use Net::HTTP explicitly via SOCKS</h3>
# => #&lt;Net::HTTPOK 200 OK readbody=true&gt;</pre>

<p>
Note that <code>Net::HTTP.SOCKSProxy</code> never rely
Note that <code>Net::HTTP.SOCKSProxy</code> never relies
on <code>TCPSocket::socks_server</code>/<code>socks_port</code>.
You should either set <code>SOCKSProxy</code> arguments
explicitly or use <code>Net::HTTP</code> directly.
Expand Down

0 comments on commit 5b5bfe1

Please sign in to comment.