HTTP client configurations.

This structure holds the configuration settings for the HTTP client, that includes security options, protocol versions, and network interface settings.

Public Attributes#

uint8_t

Index of the HTTPS client certificate.

bool

Enable or disable HTTPS.

bool

Enable or disable the use of Server Name Indication (SNI) extension in HTTPS.

sl_ip_address_type_t

IP version for the HTTP client. See sl_ip_address_type_t.

sl_net_interface_t

Network interface for the HTTP client. See sl_net_interface_t.

Public Attribute Documentation#

certificate_index#

uint8_t sl_http_client_configuration_t::certificate_index

Index of the HTTPS client certificate.


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

tls_version#

sl_http_client_tls_version_t sl_http_client_configuration_t::tls_version

TLS version for the HTTP client. See sl_http_client_tls_version_t.


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

http_version#

sl_http_client_version_t sl_http_client_configuration_t::http_version

HTTP protocol version. See sl_http_client_version_t.


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

https_enable#

bool sl_http_client_configuration_t::https_enable

Enable or disable HTTPS.


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

https_use_sni#

bool sl_http_client_configuration_t::https_use_sni

Enable or disable the use of Server Name Indication (SNI) extension in HTTPS.


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

ip_version#

sl_ip_address_type_t sl_http_client_configuration_t::ip_version

IP version for the HTTP client. See sl_ip_address_type_t.


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

network_interface#

sl_net_interface_t sl_http_client_configuration_t::network_interface

Network interface for the HTTP client. See sl_net_interface_t.


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