mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 20:36:24 -05:00
24 lines
488 B
C++
24 lines
488 B
C++
|
// Copyright 2018 yuzu Emulator Project
|
||
|
// Licensed under GPLv2 or any later version
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace Common {
|
||
|
struct WebResult {
|
||
|
enum class Code : u32 {
|
||
|
Success,
|
||
|
InvalidURL,
|
||
|
CredentialsMissing,
|
||
|
LibError,
|
||
|
HttpError,
|
||
|
WrongContent,
|
||
|
NoWebservice,
|
||
|
};
|
||
|
Code result_code;
|
||
|
std::string result_string;
|
||
|
std::string returned_data;
|
||
|
};
|
||
|
} // namespace Commo
|