BaseProtocol.connectionLost

Called when the connection is lost or closed.

interface BaseProtocol
void
connectionLost
(
Exception exception
)

Parameters

exception Exception

is either an exception object or $(D_KEYWORD null). The latter means a regular EOF is received, or the connection was aborted or closed by this side of the connection.

Meta