Launch apps from web UI
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <chrono>
|
||||
|
||||
// lib includes
|
||||
#include <Simple-Web-Server/server_https.hpp>
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
|
||||
// local includes
|
||||
@@ -24,6 +25,8 @@ using namespace std::chrono_literals;
|
||||
*/
|
||||
namespace nvhttp {
|
||||
|
||||
using args_t = SimpleWeb::CaseInsensitiveMultimap;
|
||||
|
||||
/**
|
||||
* @brief The protocol version.
|
||||
* @details The version of the GameStream protocol we are mocking.
|
||||
@@ -57,6 +60,12 @@ namespace nvhttp {
|
||||
void
|
||||
start();
|
||||
|
||||
std::string
|
||||
get_arg(const args_t &args, const char *name, const char *default_value = nullptr);
|
||||
|
||||
std::shared_ptr<rtsp_stream::launch_session_t>
|
||||
make_launch_session(bool host_audio, int appid, const args_t &args, const crypto::named_cert_t* named_cert_p);
|
||||
|
||||
/**
|
||||
* @brief Compare the user supplied pin to the Moonlight pin.
|
||||
* @param pin The user supplied pin.
|
||||
|
||||
Reference in New Issue
Block a user