Gio.TcpWrapperConnection
const Gio = imports.gi.Gio;
let tcpWrapperConnection = new Gio.TcpWrapperConnection({
base_io_stream: value,
});
A Gio.TcpWrapperConnection can be used to wrap a Gio.IOStream that is based on a Gio.Socket, but which is not actually a Gio.SocketConnection. This is used by Gio.SocketClient so that it can always return a Gio.SocketConnection, even when the connection it has actually created is not directly a Gio.SocketConnection.
Hierarchy
-
GObject.Object
-
Gio.IOStream
-
Gio.SocketConnection
-
Gio.TcpConnection
- Gio.TcpWrapperConnection
-
-
-