                     <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">webSocketDidReceiveMessage</span><span class="p">(</span><span class="nv">connection</span><span class="p">:</span> <span class="kt"><a href="../Protocols/WebSocketConnection.html">WebSocketConnection</a></span><span class="p">,</span>
                                <span class="nv">string</span><span class="p">:</span> <span class="kt">String</spa