Gio.TcpConnection.prototype.get_graceful_disconnect
function get_graceful_disconnect(): Boolean { // Gjs wrapper for g_tcp_connection_get_graceful_disconnect() }
Checks if graceful disconnects are used. See Gio.TcpConnection.prototype.set_graceful_disconnect.
Since 2.22
- Returns
true if graceful disconnect is used on close, false otherwise