vibe.d beta banner
get vibe.d
0.10.1

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

Function ConnectionStream.connected

Determines The current connection status.

abstract bool connected() @property @safe const;

If connected is false, writing to the connection will trigger an exception. Reading may still succeed as long as there is data left in the input buffer. Use InputStream.empty instead to determine when to stop reading.

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

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