[ CCode ( cname = "closed" ) ]
public signal void on_closed (bool remote_peer_vanished, Error? error)
Emitted when the connection is closed.
The cause of this event can be
remote_peer_vanished
is set
to false and error
is null.remote_peer_vanished
is set to true
and error
is set.remote_peer_vanished
is set to
false and error
is set.Upon receiving this signal, you should give up your reference to connection
. You are guaranteed that this signal is emitted
only once.
remote_peer_vanished |
true if |
error |
a Error with more details about the event or null |