Gio.TcpWrapperConnection.new
function new(base_io_stream: Gio.IOStream, socket: Gio.Socket): Gio.SocketConnection { // Gjs wrapper for g_tcp_wrapper_connection_new() }
Wraps base_io_stream and socket together as a Gio.SocketConnection.
Since 2.28
- base_io_stream
the Gio.IOStream to wrap
- socket
the Gio.Socket associated with base_io_stream
- Returns
the new Gio.SocketConnection.