navid/veins / impl-rust / veins-cpprewrite/src/server.h

server.h

← veins-cpprewrite/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