◆ handshake()
Establishes connection, negotiating version.
- Returns
- The version provided by the other side of the connection.
- Parameters
-
to | Taken by reference to allow for various error handling mechanisms. |
from | Taken by reference to allow for various error handling mechanisms. |
localVersion | Our version which is sent over. |
supportedFeatures | The protocol features that we support. |
◆ postHandshake()
After calling handshake, must call this to exchange some basic information abou the connection.
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/worker-protocol-connection.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/worker-protocol-connection.cc