></span> <span class="parameter-name">compression</span>: <span class="default-value">CompressionOptions.compressionDefault</span></span> })
    </section>

    <section class="desc markdown">
      <p>Create a new <a href="dart-io/WebSocketTransformer-class.html">WebSocketTransformer</a>.</p>
<p>If <code>protocolSelector</code> is provided, <code>protocolSelector</code> will be called to
select what protocol to use, if any were provided by the client.
<code>protocolSelector</code> is should return either a