ts.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">static Future&lt;RawSecureSocket&gt; secureServer(
    RawSocket socket, SecurityContext context,
    {StreamSubscription&lt;RawSocketEvent&gt; subscription,
    List&lt;int&gt; bufferedData,
    bool requestClientCertificate: false,
    bool requireClientCertificate: false,
    List&lt;String&gt; supportedProtocols}) {
  so