Voffcon Esp32 device server
 All Classes Functions
GUrl Class Reference

Public Member Functions

int toNumber (String str)
 
String jsonKeyValue (String key, String value)
 
String jsonKeyValue (String key, int value)
 Creates a string with a key and a value, which can be used when populating a JSON object. More...
 
String jsonObjectType (unsigned int uiType)
 
String makeStatusResponceJson (String jsonPins, String jsonWhitelist, String jsonDate)
 
String makePostLogPinsJson (String deviceId, String jsonPins)
 
String makeHttpStatusCodeString (unsigned int uiStatusCode)
 Formats a http status code More...
 
String jsonRoot (unsigned int uiType, String key, String value)
 

Member Function Documentation

String GUrl::jsonKeyValue ( String  key,
int  value 
)

Creates a string with a key and a value, which can be used when populating a JSON object.

Parameters
keyName of the key
valueThe integer value
Returns
A string with a key and a value. For example: "args":12
String GUrl::makeHttpStatusCodeString ( unsigned int  uiStatusCode)

Formats a http status code

Parameters
uiStatusCodeNumber of the http status code to format
Returns
A string with the http statuscode number and the status text.

The documentation for this class was generated from the following file: