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