semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
WebsocketHeader Class Reference

Public Member Functions

 ~WebsocketHeader ()
 
char * getRequest (char *requestId, char *requestType, char *body)
 

Constructor & Destructor Documentation

◆ ~WebsocketHeader()

WebsocketHeader::~WebsocketHeader ( )
inline
Returns
void

Member Function Documentation

◆ getRequest()

char * WebsocketHeader::getRequest ( char * requestId,
char * requestType,
char * body )
Parameters
requestId- it is the unique Id to reference a specific call. It is responsability of the developer to generate an unique key that he can reuse to correlate the asynchronous response of the websocket
requestType- it is the endpoint of the specific api call. Can be retrieved by means of the function: "xxx.getEPurl()"
body- it is the json script of the API call to send
Returns
void

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