|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
HTTP session configuration. More...
#include <zephyr/net/http/client_multiprotocol.h>
Data Fields | |
| struct net_sockaddr_storage | server_addr |
| Server address. | |
| net_socklen_t | addrlen |
| Server address length. | |
| const char * | host |
| Server host name, IPv4 literal or bracketed IPv6 literal, without a port, used for the :authority pseudo-header (HTTP/2) and the Host header (HTTP/1.1). | |
| bool | async |
| Whether session should be synchronous or asynchronous. | |
HTTP session configuration.
| net_socklen_t http_client_session_config::addrlen |
Server address length.
| bool http_client_session_config::async |
Whether session should be synchronous or asynchronous.
| const char* http_client_session_config::host |
Server host name, IPv4 literal or bracketed IPv6 literal, without a port, used for the :authority pseudo-header (HTTP/2) and the Host header (HTTP/1.1).
The port is taken from the server address. Leave NULL to use the server address literal instead. Must remain valid for the lifetime of the session.
| struct net_sockaddr_storage http_client_session_config::server_addr |
Server address.