html">String</a></span>&gt;</span></span> <span class="parameter-name">protocols</span></span>), </span> <span class="parameter" id="upgrade-param-compression"><span class="type-annotation"><a href="dart-io/CompressionOptions-class.html">CompressionOptions</a></span> <span class="parameter-name">compression</span>: <span class="default-value">CompressionOptions.compressionDefault</span></span> })
      
    </section>
    <section class="desc markdown">
      <p>Upgrades a <a href="dart-io/HttpRequest-class