navid/veins / 9b2d51ea7f41b1c7e81d779b3f7568ed0a5efba0594eedb262ee3511836c86cc / 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