navid/veins / 46f2c49a75178c33115126e2be586d86fb892e95a42b5b8b9eaf09068fb6c666 / 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