semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
Header Class Reference

Public Member Functions

 Header (char *auth, char *json, char *wsheader)
 
void setAuthorization (char *apikey)
 
char * getHttpsUrl ()
 
char * getWsEP ()
 
char * getWsClientEP ()
 
char * getWsHost ()
 
int getWsPort ()
 
char * getWsHeader ()
 
char * getContentType ()
 
char * getAuthorization ()
 
char * getAccept ()
 

Constructor & Destructor Documentation

◆ Header()

Header::Header ( char * auth,
char * json,
char * wsheader )
inline
Parameters
auth- the pointer to the predefined array to contain the authorization script
json- the pointer to the predefined array to contain the json script
wsheader- the pointer to the predefined array to contain the websocket header
Returns
void

Member Function Documentation

◆ getAccept()

char * Header::getAccept ( )
Returns
accept

◆ getAuthorization()

char * Header::getAuthorization ( )
Returns
*pauth

◆ getContentType()

char * Header::getContentType ( )
Returns
contentType

◆ getHttpsUrl()

char * Header::getHttpsUrl ( )
Returns
char* httpsUrl

◆ getWsClientEP()

char * Header::getWsClientEP ( )
Returns
char* wsClientEP

◆ getWsEP()

char * Header::getWsEP ( )
Returns
char* wsEP

◆ getWsHeader()

char * Header::getWsHeader ( )
Returns
pwsheader - a char containing the ws header

◆ getWsHost()

char * Header::getWsHost ( )
Returns
char* wsHost

◆ getWsPort()

int Header::getWsPort ( )
Returns
int wsPort

◆ setAuthorization()

void Header::setAuthorization ( char * apikey)
Parameters
apikey- apikey received during the provisioning phase, needed to create the authorization string
Returns
void

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