vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function ConnectionStream.close

Actively closes the connection and frees associated resources.

abstract void close() @safe;

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).

Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.