Bitcoin Core  24.99.0
P2P Digital Currency
Enumerations | Functions
rest.h File Reference
#include <string>
Include dependency graph for rest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  RESTResponseFormat { UNDEF , BINARY , HEX , JSON }
 

Functions

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. More...
 

Enumeration Type Documentation

◆ RESTResponseFormat

enum RESTResponseFormat
strong
Enumerator
UNDEF 
BINARY 
HEX 
JSON 

Definition at line 10 of file rest.h.

Function Documentation

◆ ParseDataFormat()

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.

Parameters
[out]paramThe strReq without the data format string and without the query string (if any).
[in]strReqThe URI to be parsed.
Returns
RESTResponseFormat that was parsed from the URI.

Definition at line 134 of file rest.cpp.

Here is the caller graph for this function: