>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">webSocketDidAttemptBetterPathMigration</span><span class="p">(</span><span class="nv">result</span><span class="p">:</span> <span class="kt">Result</span><span class="o">&lt;</span><span class="kt"><a href="../Protocols/WebSocketConnection.html">WebSocketConnection</a></span><span class="p">,</sp