Client.from_socket


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.5" ) ]
public Client.from_socket (Socket socket)

Create a new client to talk on an existing socket.

Parameters:

socket

A Socket that is connected to snapd.

Returns:

a new Client