navid/veins / 849788d17ec456024834ad26378fdb084ec75cd2f7cdfef156cbb58b3db1f4bf / 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