navid/veins / 5c47896115dedf2087f6e19487b5b7faf53c7cde0d51c6702c16f7cfc30a1b97 / 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