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.

struct UnbufferedSocketStreamBase
@safe
Socket
detach
()

Meta