Bitcoin Core 28.99.0
P2P Digital Currency
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
11 UNDEF,
12 BINARY,
13 HEX,
14 JSON,
15};
16
26RESTResponseFormat ParseDataFormat(std::string& param, const std::string& strReq);
27
28#endif // BITCOIN_REST_H
RESTResponseFormat
Definition: rest.h:10
RESTResponseFormat ParseDataFormat(std::string &param, const std::string &strReq)
Parse a URI to get the data format and URI without data format and query string.
Definition: rest.cpp:137
constexpr BaseFormat HEX