|
@@ -329,7 +329,7 @@ Decodes query.<dl class="docutils"><dt>e.g.:</dt>
|
|
|
|
|
|
<p>Responds from server with utf-8.</p>
|
|
|
<p>Translates to</p>
|
|
|
-<pre class="listing"><span class="Identifier">request</span><span class="Operator">.</span><span class="Identifier">respond</span><span class="Punctuation">(</span><span class="Identifier">Http200</span><span class="Punctuation">,</span> <span class="Identifier">message</span><span class="Punctuation">,</span> <span class="Identifier">headers</span><span class="Punctuation">)</span></pre>
|
|
|
+<pre class="listing"><span class="Identifier">request</span><span class="Operator">.</span><span class="Identifier">respond</span><span class="Punctuation">(</span><span class="Identifier">Http200</span><span class="Punctuation">,</span> <span class="Operator">$</span><span class="Identifier">message</span><span class="Punctuation">,</span> <span class="Identifier">headers</span><span class="Punctuation">)</span></pre>
|
|
|
<h2><a class="toc-backref" id="example" href="#example">Example</a></h2><pre class="listing"><span class="Identifier">await</span> <span class="Identifier">request</span><span class="Operator">.</span><span class="Identifier">send</span><span class="Punctuation">(</span><span class="StringLit">"hello!"</span><span class="Punctuation">)</span></pre>
|
|
|
|
|
|
</dd>
|
|
@@ -394,7 +394,7 @@ Starts server.
|
|
|
<div class="twelve-columns footer">
|
|
|
<span class="nim-sprite"></span>
|
|
|
<br/>
|
|
|
- <small style="color: var(--hint);">Made with Nim. Generated: 2020-06-04 14:53:52 UTC</small>
|
|
|
+ <small style="color: var(--hint);">Made with Nim. Generated: 2020-06-05 07:39:38 UTC</small>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|