Bitcoin Core
28.99.0
P2P Digital Currency
src
rest.h
Go to the documentation of this file.
1
// Copyright (c) 2015-2022 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_REST_H
6
#define BITCOIN_REST_H
7
8
#include <string>
9
10
enum class
RESTResponseFormat
{
11
UNDEF
,
12
BINARY
,
13
HEX
,
14
JSON
,
15
};
16
26
RESTResponseFormat
ParseDataFormat
(std::string& param,
const
std::string& strReq);
27
28
#endif
// BITCOIN_REST_H
RESTResponseFormat
RESTResponseFormat
Definition:
rest.h:10
RESTResponseFormat::JSON
@ JSON
RESTResponseFormat::BINARY
@ BINARY
RESTResponseFormat::UNDEF
@ UNDEF
ParseDataFormat
RESTResponseFormat ParseDataFormat(std::string ¶m, const std::string &strReq)
Parse a URI to get the data format and URI without data format and query string.
Definition:
rest.cpp:137
HEX
constexpr BaseFormat HEX
Definition:
serialize_tests.cpp:290
Generated on Wed Dec 18 2024 20:00:11 for Bitcoin Core by
1.9.4