n> <span style="color: #000000;">{</span> <span style="color: #434f54;">// When a WebSocket message is received</span>
  <span style="color: #5e6d03;">switch</span> <span style="color: #000000;">(</span><span style="color: #000000;">type</span><span style="color: #000000;">)</span> <span style="color: #000000;">{</span>
    <span style="color: #5e6d03;">case</span> <span style="color: #000000;">WStype_DISCONNECTED</span><span style="color: #434f54;">:</span>             <span style="color: #434f54;">// if t