     <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">WebSocketConnectionDelegate</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

                </div>
              </div>
            <p>Defines a delegate for a WebSocket connection.</p>

              <div class="slightly-smaller">
                <a href="https://github.com/pusher/NWWebSocket/tree