UnbufferedSocketStreamBase.detach

Detach the socket from this socket stream and return it.

The stream is closed after becoming detached. This can be used to avoid closing a socket when the stream is destroyed.

  1. Socket detach()
    struct UnbufferedSocketStreamBase
    @safe
    Socket
    detach
    ()
  2. ~this()

Meta