Template:HttpRequest:Send syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 2: | Line 2: | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
<p class="syntax"><span class="term">%httpResponse</span><span class="literal"> =</span> <span class="term">httpRequest</span><span class="literal">:Send</span><span class="literal">(</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Port=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">Cancel=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | <p class="syntax"><span class="term">%httpResponse</span><span class="literal"> =</span> <span class="term">httpRequest</span><span class="literal">:Send</span><span class="literal">(</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Port=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">Cancel=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="literal" title="String">Method=</span> <span class="term" title="String"> | <span class="literal" title="String">Method=</span> <span class="term" title="String">name</span><span class="literal">)</span></p> |
Revision as of 21:34, 21 June 2011
%httpResponse = httpRequest:Send( [[Port=] string], [[Cancel=] number], - Method= name)