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