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.


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.


http_version#

sl_http_client_version_t sl_http_client_configuration_t::http_version

HTTP protocol version. See sl_http_client_version_t.


https_enable#

bool sl_http_client_configuration_t::https_enable

Enable or disable HTTPS.


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.


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.


network_interface#

sl_net_interface_t sl_http_client_configuration_t::network_interface

Network interface for the HTTP client. See sl_net_interface_t.