[ 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.
Note that socket will be used by the first request only and closed once that request completes. Subsequent requests will
re-open a new socket using the path returned by get_socket_path.
| socket |
A Socket that is connected to snapd. |
|
a new Client |