navid/veins / 4d6f82fdba18f6ff7edfc7aae8c1f3e78bb0b7fe7cb7224d40c4dd7bcdc7c069 / xveins/src/server/server.h

server.h

← xveins/src/server · 346 bytes · raw · download

#pragma once

#include "core/common.h"

#include <string_view>

namespace vn::server {

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

} // namespace vn::server