Gio.DBusConnection.prototype.get_stream

function get_stream(): Gio.IOStream {
    // Gjs wrapper for g_dbus_connection_get_stream()
}
  

Gets the underlying stream used for IO.

While the Gio.DBusConnection is active, it will interact with this stream from a worker thread, so it is not safe to interact with the stream directly.

Since 2.26

Returns

the stream used for IO