summaryrefslogblamecommitdiffstats
path: root/src/web_service/web_result.h
blob: 6da3a92777679ebec83f74f170fd41f7b446394d (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               



                 
                                
 
                      













                              
                         
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <string>
#include "common/common_types.h"

namespace WebService {
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 WebService