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.
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.
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.
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.
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.
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.
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.
216
of file components/service/http_client/inc/sl_http_client.h