Sunshine latest
Self-hosted game stream host for Moonlight.
httpcommon.h File Reference

Declarations for common HTTP. More...

#include <curl/curl.h>
#include "network.h"
#include "thread_safe.h"
Include dependency graph for httpcommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int http::create_creds (const std::string &pkey, const std::string &cert)
 
bool http::download_file (const std::string &url, const std::string &file, long ssl_version)
 
int http::init ()
 
int http::reload_user_creds (const std::string &file)
 
int http::save_user_creds (const std::string &file, const std::string &username, const std::string &password, bool run_our_mouth)
 
std::string http::url_escape (const std::string &url)
 
std::string http::url_get_host (const std::string &url)
 

Detailed Description

Declarations for common HTTP.