| semilimes mcu sdk 1.1.2 semilimes Software Development Kit for microcontrollers

Loading...
Searching...
No Matches
Public Member Functions | List of all members
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:

- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/github/semilimes_mcu_sdk/src/communication/websocket_header.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/github/semilimes_mcu_sdk/src/communication/websocket_header.cpp