Represents a request from the client. More...
#include <WebServerControl.h>
Public Member Functions | |
| Request ()=default | |
| bool | hasJSON () const | 
| const nlohmann::json & | getJSON () const | 
| void | setJSON (const nlohmann::json &json, const Moose::PassKey< WebServerControl >) | 
| Set the JSON data in the request.  More... | |
Private Attributes | |
| std::optional< nlohmann::json > | _json | 
| The underlying JSON data, if any.  More... | |
Represents a request from the client.
Definition at line 96 of file WebServerControl.h.
      
  | 
  default | 
| const nlohmann::json & WebServerControl::Request::getJSON | ( | ) | const | 
Definition at line 820 of file WebServerControl.C.
Referenced by WebServerControl::addServerActionsInternal().
      
  | 
  inline | 
Definition at line 103 of file WebServerControl.h.
Referenced by getJSON().
      
  | 
  inline | 
Set the JSON data in the request.
Definition at line 113 of file WebServerControl.h.
      
  | 
  private | 
The underlying JSON data, if any.
Definition at line 120 of file WebServerControl.h.
 1.8.14