|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
TCP transport context for the HTTP client. More...
#include <zephyr/net/http/client_multiprotocol.h>
Data Fields | |
| int | sock |
| Socket file descriptor in use, managed by the transport. | |
| const char * | if_name |
| Name of the interface that the HTTP client instance should be bound to. | |
| http_client_socket_create_cb_t | socket_create |
| Optional callback function for socket creation. | |
TCP transport context for the HTTP client.
| const char* http_client_transport_tcp_ctx::if_name |
Name of the interface that the HTTP client instance should be bound to.
Leave as NULL if not specified.
| int http_client_transport_tcp_ctx::sock |
Socket file descriptor in use, managed by the transport.
| http_client_socket_create_cb_t http_client_transport_tcp_ctx::socket_create |
Optional callback function for socket creation.
If NULL, the transport creates the socket itself: a TCP socket, or a TLS socket when used by the TLS transport.