doc/rdoc/classes/RFuzz/HttpClient.src/M000015.html in rfuzz-0.6 vs doc/rdoc/classes/RFuzz/HttpClient.src/M000015.html in rfuzz-0.7
- old
+ new
@@ -8,30 +8,30 @@
<title>send_request (RFuzz::HttpClient)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 368</span>
-368: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">req</span>)
-369: <span class="ruby-keyword kw">begin</span>
-370: <span class="ruby-identifier">sock</span> = <span class="ruby-keyword kw">nil</span>
-371: <span class="ruby-identifier">notify</span> <span class="ruby-identifier">:connect</span> <span class="ruby-keyword kw">do</span>
-372: <span class="ruby-identifier">sock</span> = <span class="ruby-constant">TCPSocket</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@host</span>, <span class="ruby-ivar">@port</span>)
-373: <span class="ruby-keyword kw">end</span>
-374:
-375: <span class="ruby-identifier">out</span> = <span class="ruby-constant">StringIO</span>.<span class="ruby-identifier">new</span>
-376: <span class="ruby-identifier">body</span> = <span class="ruby-identifier">build_request</span>(<span class="ruby-identifier">out</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">req</span>)
-377:
-378: <span class="ruby-identifier">notify</span> <span class="ruby-identifier">:send_request</span> <span class="ruby-keyword kw">do</span>
-379: <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">out</span>.<span class="ruby-identifier">string</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">body</span>)
-380: <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">flush</span>
-381: <span class="ruby-keyword kw">end</span>
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 373</span>
+373: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">req</span>)
+374: <span class="ruby-keyword kw">begin</span>
+375: <span class="ruby-identifier">sock</span> = <span class="ruby-keyword kw">nil</span>
+376: <span class="ruby-identifier">notify</span> <span class="ruby-identifier">:connect</span> <span class="ruby-keyword kw">do</span>
+377: <span class="ruby-identifier">sock</span> = <span class="ruby-constant">TCPSocket</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@host</span>, <span class="ruby-ivar">@port</span>)
+378: <span class="ruby-keyword kw">end</span>
+379:
+380: <span class="ruby-identifier">out</span> = <span class="ruby-constant">StringIO</span>.<span class="ruby-identifier">new</span>
+381: <span class="ruby-identifier">body</span> = <span class="ruby-identifier">build_request</span>(<span class="ruby-identifier">out</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">req</span>)
382:
-383: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">read_response</span>(<span class="ruby-identifier">sock</span>)
-384: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span>
-385: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">$!</span>
-386: <span class="ruby-keyword kw">ensure</span>
-387: <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword kw">unless</span> (<span class="ruby-operator">!</span><span class="ruby-identifier">sock</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">closed?</span>)
-388: <span class="ruby-keyword kw">end</span>
-389: <span class="ruby-keyword kw">end</span></pre>
+383: <span class="ruby-identifier">notify</span> <span class="ruby-identifier">:send_request</span> <span class="ruby-keyword kw">do</span>
+384: <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">out</span>.<span class="ruby-identifier">string</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">body</span>)
+385: <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">flush</span>
+386: <span class="ruby-keyword kw">end</span>
+387:
+388: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">read_response</span>(<span class="ruby-identifier">sock</span>)
+389: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span>
+390: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">$!</span>
+391: <span class="ruby-keyword kw">ensure</span>
+392: <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword kw">unless</span> (<span class="ruby-operator">!</span><span class="ruby-identifier">sock</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">sock</span>.<span class="ruby-identifier">closed?</span>)
+393: <span class="ruby-keyword kw">end</span>
+394: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file