tion</a></li>
      <li><a href="dart-io/WebSocketException-class.html">WebSocketException</a></li>
    </ol>
  </div>

  <div class="col-xs-12 col-sm-9 col-md-8 main-content">
    <h1>DetachedSocket class</h1>

    <section class="desc markdown">
      <p>When detaching a socket from either the <code>HttpServer</code> or the
<code>HttpClient</code> due to a HTTP connection upgrade there might be
unparsed data already read from the socket. This unparsed data
together with the detached socket is returned in 