ConnectionStream.connected

Determines The current connection status.

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.

interface ConnectionStream
@safe @property const
bool
connected
()

Meta