Gio.SocketService.prototype.start

function start(): void {
    // Gjs wrapper for g_socket_service_start()
}
  

Starts the service, i.e. start accepting connections from the added sockets when the mainloop runs.

This call is thread-safe, so it may be called from a thread handling an incoming client request.

Since 2.22