|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
HTTP client context. More...
#include <zephyr/net/http/client_multiprotocol.h>
Data Fields | |
| const struct http_client_transport_ops * | transport_ops |
| Transport API in use. | |
| void * | transport_ctx |
| Context data for the transport layer. | |
| enum http_client_version | version |
| HTTP version in use. | |
| struct http_client_session | session |
| HTTP session context. | |
| struct k_mutex | lock |
| Client lock. | |
| struct k_condvar | tx_cond |
| Signaled when a thread blocked sending a request may be able to proceed. | |
| uint8_t | callers |
| Threads inside http_client_send_request() that own a stream, which http_client_disconnect() waits for. | |
| struct k_mutex | tx_lock |
| Serializes the senders on the transport, so that a request frame or header block goes out in one piece. | |
| struct k_work_delayable | timeout_work |
| Deadline enforcement for asynchronous transactions. | |
| void * | user_data |
| Opaque user data. | |
HTTP client context.
| uint8_t http_client::callers |
Threads inside http_client_send_request() that own a stream, which http_client_disconnect() waits for.
| struct k_mutex http_client::lock |
Client lock.
| struct http_client_session http_client::session |
HTTP session context.
| struct k_work_delayable http_client::timeout_work |
Deadline enforcement for asynchronous transactions.
| void* http_client::transport_ctx |
Context data for the transport layer.
| const struct http_client_transport_ops* http_client::transport_ops |
Transport API in use.
| struct k_condvar http_client::tx_cond |
Signaled when a thread blocked sending a request may be able to proceed.
| struct k_mutex http_client::tx_lock |
Serializes the senders on the transport, so that a request frame or header block goes out in one piece.
Taken without lock held; the receive context only ever tries it without waiting.
| void* http_client::user_data |
Opaque user data.
| enum http_client_version http_client::version |
HTTP version in use.