 return RawSecureSocket.connect(host, port,
          context: context,
          onBadCertificate: onBadCertificate,
          supportedProtocols: supportedProtocols,
          timeout: timeout)
      .then((rawSocket) =&gt; new SecureSocket._(rawSocket));
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    sha