Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <server.h>
Public Member Functions | |
JSONRPCRequest () | |
If using batch JSON request, this object won't get the underlying HTTPRequest. More... | |
JSONRPCRequest (HTTPRequest *_req) | |
void | PollStart () |
Start long-polling. More... | |
void | PollPing () |
Ping long-poll connection with an empty character to make sure it's still alive. More... | |
bool | PollAlive () |
Returns whether the underlying long-poll connection is still alive. More... | |
void | PollCancel () |
End a long poll request. More... | |
void | PollReply (const UniValue &result) |
Return the JSON result of a long poll request. More... | |
void | parse (const UniValue &valRequest) |
Public Attributes | |
UniValue | id |
std::string | strMethod |
UniValue | params |
bool | fHelp |
std::string | URI |
std::string | authUser |
bool | isLongPolling |
HTTPRequest * | req |
|
inline |
If using batch JSON request, this object won't get the underlying HTTPRequest.
JSONRPCRequest::JSONRPCRequest | ( | HTTPRequest * | _req | ) |
Definition at line 361 of file server.cpp.
void JSONRPCRequest::parse | ( | const UniValue & | valRequest | ) |
Definition at line 400 of file server.cpp.
bool JSONRPCRequest::PollAlive | ( | ) |
Returns whether the underlying long-poll connection is still alive.
Definition at line 365 of file server.cpp.
void JSONRPCRequest::PollCancel | ( | ) |
End a long poll request.
Definition at line 384 of file server.cpp.
void JSONRPCRequest::PollPing | ( | ) |
Ping long-poll connection with an empty character to make sure it's still alive.
Definition at line 378 of file server.cpp.
void JSONRPCRequest::PollReply | ( | const UniValue & | result | ) |
Return the JSON result of a long poll request.
Definition at line 389 of file server.cpp.
void JSONRPCRequest::PollStart | ( | ) |
Start long-polling.
Definition at line 369 of file server.cpp.
HTTPRequest* JSONRPCRequest::req |