Gio.SocketClient.new

function new(): Gio.SocketClient {
    // Gjs wrapper for g_socket_client_new()
}
  

Creates a new Gio.SocketClient with the default options.

Since 2.22

Returns

a Gio.SocketClient. Free the returned object with GObject.Object.prototype.unref.