2019-12-03 19:23:33 +00:00
|
|
|
//
|
|
|
|
// Created by loki on 6/3/19.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SUNSHINE_NVHTTP_H
|
|
|
|
#define SUNSHINE_NVHTTP_H
|
|
|
|
|
2021-06-09 17:12:00 +00:00
|
|
|
#include "thread_safe.h"
|
2019-12-03 19:23:33 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace nvhttp {
|
2021-06-30 13:25:08 +00:00
|
|
|
constexpr auto PORT_HTTP = 0;
|
|
|
|
constexpr auto PORT_HTTPS = -5;
|
2021-06-26 10:40:06 +00:00
|
|
|
|
2021-06-21 19:21:52 +00:00
|
|
|
void start();
|
2021-05-30 14:42:40 +00:00
|
|
|
bool pin(std::string pin);
|
2021-08-17 18:22:47 +00:00
|
|
|
void erase_all_clients();
|
2021-05-29 20:29:10 +00:00
|
|
|
} // namespace nvhttp
|
2019-12-03 19:23:33 +00:00
|
|
|
|
|
|
|
#endif //SUNSHINE_NVHTTP_H
|