vibe.d beta banner
get vibe.d
0.7.30

Function ConnectionStream.close

Actively closes the connection and frees associated resources.

Note that close must always be called, even if the remote has already closed the connection. Failure to do so will result in resource and memory leakage.

Closing a connection implies a call to finalize, so that it doesn't need to be called explicitly (it will be a no-op in that case).

Prototype

abstract void close();
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License