#include <string>
#include <future>
#include "logging.hh"
#include "types.hh"
#include "ref.hh"
#include "config.hh"
#include "serialise.hh"
Go to the source code of this file.
◆ getFileTransfer()
ref< FileTransfer > nix::getFileTransfer |
( |
| ) |
|
- Returns
- a shared FileTransfer object.
Using this object is preferred because it enables connection reuse and HTTP/2 multiplexing.
◆ makeFileTransfer()
ref< FileTransfer > nix::makeFileTransfer |
( |
| ) |
|
- Returns
- a new FileTransfer object
Prefer getFileTransfer() to this; see its docs for why.