Gio.SocketClient.prototype.get_timeout

function get_timeout(): Number(guint) {
    // Gjs wrapper for g_socket_client_get_timeout()
}
  

Gets the I/O timeout time for sockets created by client.

See Gio.SocketClient.prototype.set_timeout for details.

Since 2.26

Returns

the timeout in seconds