navid/veins / 89b55a7b5b5fb25a91d7542172ee585d75f9613406e2b20a15aa59f995b60e94 / xveins/src/server.h

server.h

← xveins/src · 341 bytes · raw · download

#pragma once

#include "common.h"

#include <string_view>

namespace vn::server {

int serve_stdio(const fs::path& repo, std::uint64_t quota_bytes);
int serve_listen(std::string_view address, const fs::path& root, std::string_view cert_path,
                 std::string_view key_path, std::uint64_t quota_bytes);

} // namespace vn::server