class MAGES::JARIA::JariaRequest¶
Overview¶
Class to handle JARIA request. More…
class JariaRequest { public: // properties ActionOnResponseReceived; // methods static async Task PrepareRequest( string input, UserAuthenticationModule uam, Dictionary
Detailed Documentation¶
Class to handle JARIA request.
Properties¶
ActionOnResponseReceived
Gets or sets functions to be called when the response is received from JARIA.
Methods¶
static async TaskPrepareRequest( string input, UserAuthenticationModule uam, Dictionary
Prepares the request to JARIA.
Parameters:
input |
User input. |
uam |
the user authentication module. |
additionalParamas |
Additional request parameters. |
Returns:
Return an http response.
static async Task> HandleJsonResponseAsync(HttpResponseMessage response)
Handles the JSON response from JARIA.
Parameters:
response |
The response. |
Returns:
A dictionary.