aboutsummaryrefslogtreecommitdiff
path: root/src/rest.h
blob: 70fed9987931e472d951b20407ddf6ddc50f8a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2015-2022 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_REST_H
#define BITCOIN_REST_H

#include <string>

enum class RetFormat {
    UNDEF,
    BINARY,
    HEX,
    JSON,
};

RetFormat ParseDataFormat(std::string& param, const std::string& strReq);

#endif // BITCOIN_REST_H