navid/veins / fde8e8d3b6db0b31c16ec39d9459583659d2fd20ce9048b6d6ec3a8628603897 / xveins/src/server.h

server.h

← xveins/src · 287 bytes · raw · download

#pragma once

#include "common.h"

#include <string_view>

namespace vn::server {

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

} // namespace vn::server