Ticket #1774: endpoints-doc.patch

File endpoints-doc.patch, 1.3 KB (added by exarkun, 5 years ago)
  • doc/web/howto/client.xhtml

     
    289289    <h3>Using a HTTP proxy</h3>
    290290
    291291    <p>
    292       To be able to use HTTP proxies with an agent, you can use <code
     292      To be able to use HTTP proxies with an agent, you can use the <code
    293293      class="API">twisted.web.client.ProxyAgent</code> class. It supports the
    294294      same interface as <code>Agent</code>, but takes the endpoint of the proxy
    295       as argument.
     295      as initializer argument.
    296296    </p>
    297297
    298298    <p>
    299       Here's an example to use a HTTP proxy, this proxy running on
     299      Here's an example demonstrating the use of an HTTP proxy running on
    300300      localhost:8000.
    301301    </p>
    302302
     
    320320
    321321if __name__ == "__main__":
    322322    main()
    323     </pre>
     323</pre>
    324324
    325325    <p>
    326326      Please refer to the <a
    327       href="../../core/howto/endpoints.xhtml">Endpoints</a> documentation for
    328       more information.
     327      href="../../core/howto/endpoints.xhtml">endpoints documentation</a> for
     328      more information about how they work and the <code
     329      class="API">twisted.internet.endpoints</code> API documentation to learn
     330      what other kinds of endpoints exist.
    329331    </p>
    330332
    331333    <h2>