<span class="keyword">new</span> <span class="class-name">PartySocket</span><span class="punctuation">(</span><span class="punctuation">{</span>
  <span class="literal-property">host</span><span class="operator">:</span> <span class="string">'127.0.0.1:1999'</span><span class="punctuation">,</span>
  <span class="literal-property">room</span><span class="operator">:</span> <span class="string">'my_room'</span><span class="punctuation">,</span>
<span class="punctuation">}</span><span class="punctuation">)</s