class="variable">req</span>, <span class="variable">res</span>) {
        <span class="variable">res</span>.<span class="variable">writeHead</span>(<span class="number integer">200</span>, { <span class="string">'Content-Type'</span>: <span class="string">'text/plain'</span> });
        <span class="variable">res</span>.<span class="variable">end</span>(<span class="variable">msg</span>);
    }
}

<span class="variable">connect</span>.<span class="variable">createServer</span>(<span class="variable">respond