Structure to hold HTTP client credentials.

This structure is used to store the credentials required for HTTP client authentication. It includes the lengths of the username ,and password as well as, a flexible array to store the actual username, and password data.

Public Attributes#

uint16_t

Length of the username. Maximum supported length is 139 bytes.

uint16_t

Length of the password. Maximum supported length is 139 bytes.

uint8_t

Flexible array to store both the username, and password.

Public Attribute Documentation#

username_length#

uint16_t sl_http_client_credentials_t::username_length

Length of the username. Maximum supported length is 139 bytes.


Definition at line 195 of file components/service/http_client/inc/sl_http_client.h

password_length#

uint16_t sl_http_client_credentials_t::password_length

Length of the password. Maximum supported length is 139 bytes.


Definition at line 196 of file components/service/http_client/inc/sl_http_client.h

data#

uint8_t sl_http_client_credentials_t::data[]

Flexible array to store both the username, and password.


Definition at line 197 of file components/service/http_client/inc/sl_http_client.h