TcpConnection.state

SocketState state() @property const @safe nothrow @nogc

Report the current connection state.

Returns

Current lifecycle state of the connection.