diff options
Diffstat (limited to 'src/rest.h')
-rw-r--r-- | src/rest.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/rest.h b/src/rest.h new file mode 100644 index 0000000000..70fed99879 --- /dev/null +++ b/src/rest.h @@ -0,0 +1,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 |