iPXE
Data Fields
http_transaction Struct Reference

An HTTP transaction. More...

#include <http.h>

Data Fields

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

Detailed Description

An HTTP transaction.

Definition at line 417 of file http.h.

Field Documentation

◆ refcnt

struct refcnt http_transaction::refcnt

Reference count.

Definition at line 419 of file http.h.

Referenced by http_open().

◆ xfer

struct interface http_transaction::xfer

Data transfer interface.

Definition at line 421 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 423 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 427 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 429 of file http.h.

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

◆ timer

struct retry_timer http_transaction::timer

Reconnection timer.

Definition at line 431 of file http.h.

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

◆ uri

struct uri* http_transaction::uri

◆ request

struct http_request http_transaction::request

◆ response

struct http_response http_transaction::response

◆ linebuf

struct line_buffer http_transaction::linebuf

Temporary line buffer.

Definition at line 440 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 445 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: