Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/request.h
Show All 22 Lines | |||||
/** Generate a new RPC authentication cookie and write it to disk */ | /** Generate a new RPC authentication cookie and write it to disk */ | ||||
bool GenerateAuthCookie(std::string *cookie_out); | bool GenerateAuthCookie(std::string *cookie_out); | ||||
/** Read the RPC authentication cookie from disk */ | /** Read the RPC authentication cookie from disk */ | ||||
bool GetAuthCookie(std::string *cookie_out); | bool GetAuthCookie(std::string *cookie_out); | ||||
/** Delete RPC authentication cookie from disk */ | /** Delete RPC authentication cookie from disk */ | ||||
void DeleteAuthCookie(); | void DeleteAuthCookie(); | ||||
/** Parse JSON-RPC batch reply into a vector */ | /** Parse JSON-RPC batch reply into a vector */ | ||||
std::vector<UniValue> JSONRPCProcessBatchReply(const UniValue &in, size_t num); | std::vector<UniValue> JSONRPCProcessBatchReply(const UniValue &in); | ||||
class JSONRPCRequest { | class JSONRPCRequest { | ||||
public: | public: | ||||
UniValue id; | UniValue id; | ||||
std::string strMethod; | std::string strMethod; | ||||
UniValue params; | UniValue params; | ||||
bool fHelp; | bool fHelp; | ||||
std::string URI; | std::string URI; | ||||
Show All 20 Lines |