web_backend: User config for username and token, support anonymous post.
This commit is contained in:
parent
40f417125b
commit
41328afb58
2 changed files with 18 additions and 41 deletions
|
@ -9,18 +9,6 @@
|
|||
|
||||
namespace WebService {
|
||||
|
||||
/**
|
||||
* Gets the current username for accessing services.citra-emu.org.
|
||||
* @returns Username as a string, empty if not set.
|
||||
*/
|
||||
const std::string& GetUsername();
|
||||
|
||||
/**
|
||||
* Gets the current token for accessing services.citra-emu.org.
|
||||
* @returns Token as a string, empty if not set.
|
||||
*/
|
||||
const std::string& GetToken();
|
||||
|
||||
/**
|
||||
* Posts JSON to services.citra-emu.org.
|
||||
* @param url URL of the services.citra-emu.org endpoint to post data to.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue