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#
Index of the HTTPS client certificate.
TLS version for the HTTP client. See sl_http_client_tls_version_t.
HTTP protocol version. See sl_http_client_version_t.
Enable or disable HTTPS.
Enable or disable the use of Server Name Indication (SNI) extension in HTTPS.
IP version for the HTTP client. See sl_ip_address_type_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_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.