set_socket_path


Description:

[ Version ( since = "1.24" ) ]
public void set_socket_path (string? socket_path)

Set the Unix socket path to connect to snapd with.

Defaults to the system socket, taking into account if the code is running confined in a Snap or not.

Parameters:

this

a Client

socket_path

a socket path or null to reset to the default. If the socket name is in the form 'XXXXXXX ', it will be considered an abstract socket with XXXXXXX as its path.