|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include "lix/libutil/box_ptr.hh"#include "lix/libutil/ref.hh"#include "lix/libutil/logging.hh"#include "lix/libutil/serialise.hh"#include "lix/libutil/types.hh"#include "lix/libutil/config.hh"#include <string>#include <future>#include "file-transfer-settings.gen.inc"Go to the source code of this file.
Classes | |
| struct | nix::FileTransferSettings |
| struct | nix::FileTransferResult |
| struct | nix::FileTransfer |
| class | nix::FileTransferError |
Functions | |
| ref< FileTransfer > | nix::getFileTransfer () |
| ref< FileTransfer > | nix::makeFileTransfer (std::optional< unsigned int > baseRetryTimeMs) |
| ref< FileTransfer > nix::getFileTransfer | ( | ) |
Using this object is preferred because it enables connection reuse and HTTP/2 multiplexing.
| ref< FileTransfer > nix::makeFileTransfer | ( | std::optional< unsigned int > | baseRetryTimeMs = {} | ) |
Prefer getFileTransfer() to this; see its docs for why.