iPXE
http_transaction Struct Reference

An HTTP transaction. More...

#include <http.h>

Data Fields

struct refcnt refcnt
 Reference count.
struct interface xfer
 Data transfer interface.
struct interface content
 Content-decoded interface.
struct interface transfer
 Transfer-decoded interface.
struct interface conn
 Server connection.
struct process process
 Transmit process.
struct retry_timer retry
 Reconnection timer.
struct retry_timer watchdog
 Idle connection watchdog timer.
struct uriuri
 Request URI.
struct http_request request
 Request.
struct http_response response
 Response.
struct line_buffer linebuf
 Temporary line buffer.
struct http_statestate
 Transaction state.
size_t len
 Accumulated transfer-decoded length.
size_t remaining
 Chunk length remaining.

Detailed Description

An HTTP transaction.

Definition at line 416 of file http.h.

Field Documentation

◆ refcnt

struct refcnt http_transaction::refcnt

Reference count.

Definition at line 418 of file http.h.

Referenced by http_open().

◆ xfer

struct interface http_transaction::xfer

Data transfer interface.

Definition at line 420 of file http.h.

Referenced by http_close(), http_content_buffer(), http_content_deliver(), http_open(), http_peerdist_supported(), http_redirect(), and http_step().

◆ content

struct interface http_transaction::content

Content-decoded interface.

Definition at line 422 of file http.h.

Referenced by http_close(), http_open(), http_peerdist_init(), and http_transfer_complete().

◆ transfer

struct interface http_transaction::transfer

◆ conn

struct interface http_transaction::conn

Server connection.

Definition at line 426 of file http.h.

Referenced by http_close(), http_conn_close(), http_open(), http_reopen(), http_step(), http_transfer_complete(), and http_tx_request().

◆ process

struct process http_transaction::process

Transmit process.

Definition at line 428 of file http.h.

Referenced by http_close(), http_open(), and http_reopen().

◆ retry

struct retry_timer http_transaction::retry

Reconnection timer.

Definition at line 430 of file http.h.

Referenced by http_close(), http_open(), http_retry_expired(), and http_transfer_complete().

◆ watchdog

struct retry_timer http_transaction::watchdog

Idle connection watchdog timer.

Definition at line 432 of file http.h.

Referenced by http_close(), http_open(), http_transfer_complete(), http_watchdog(), and http_watchdog_expired().

◆ uri

◆ request

◆ response

◆ linebuf

struct line_buffer http_transaction::linebuf

Temporary line buffer.

Definition at line 441 of file http.h.

Referenced by http_free(), http_init_transfer_chunked(), http_rx_chunk_len(), and http_rx_trailers().

◆ state

struct http_state* http_transaction::state

◆ len

size_t http_transaction::len

Accumulated transfer-decoded length.

Definition at line 446 of file http.h.

Referenced by http_rx_chunk_data(), http_rx_chunk_len(), http_rx_transfer_identity(), and http_transfer_complete().

◆ remaining

size_t http_transaction::remaining

The documentation for this struct was generated from the following file: