http_request Struct Reference

An HTTP request. More...


Data Fields

struct refcnt refcnt
 Reference count.
struct xfer_interface xfer
 Data transfer interface.
struct uriuri
 URI being fetched.
struct xfer_interface socket
 Transport layer interface.
struct process process
 TX process.
unsigned int response
 HTTP response code.
size_t content_length
 HTTP Content-Length.
size_t rx_len
 Received length.
enum http_rx_state rx_state
 RX state.
struct line_buffer linebuf
 Line buffer for received header lines.


Detailed Description

An HTTP request.

Definition at line 63 of file http.c.


Field Documentation

Reference count.

Definition at line 65 of file http.c.

Referenced by http_open_filter().

Data transfer interface.

Definition at line 67 of file http.c.

Referenced by http_done(), http_open_filter(), http_rx_content_length(), http_rx_data(), and http_rx_location().

struct uri* http_request::uri [read]

URI being fetched.

Definition at line 70 of file http.c.

Referenced by http_free(), http_open_filter(), and http_step().

Transport layer interface.

Definition at line 72 of file http.c.

Referenced by http_done(), http_open_filter(), and http_step().

TX process.

Definition at line 75 of file http.c.

Referenced by http_done(), http_open_filter(), and http_step().

unsigned int http_request::response

HTTP response code.

Definition at line 78 of file http.c.

Referenced by http_rx_response().

HTTP Content-Length.

Definition at line 80 of file http.c.

Referenced by http_done(), http_rx_content_length(), and http_rx_data().

Received length.

Definition at line 82 of file http.c.

Referenced by http_done(), and http_rx_data().

RX state.

Definition at line 84 of file http.c.

Referenced by http_done(), http_rx_header(), http_rx_response(), and http_socket_deliver_iob().

Line buffer for received header lines.

Definition at line 86 of file http.c.

Referenced by http_free(), http_rx_header(), and http_socket_deliver_iob().


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

Generated on Tue Apr 6 20:02:05 2010 for gPXE by  doxygen 1.5.7.1