iPXE
|
An HTTP request. More...
#include <http.h>
Data Fields | |
struct http_method * | method |
Method. More... | |
const char * | uri |
Request URI string. More... | |
const char * | host |
Server host name. More... | |
struct http_request_range | range |
Range descriptor. More... | |
struct http_request_content | content |
Content descriptor. More... | |
struct http_request_auth | auth |
Authentication descriptor. More... | |
An HTTP request.
This represents a single request to be sent to a server, including the values required to construct all headers.
Pointers within this structure must point to storage which is guaranteed to remain valid for the lifetime of the containing HTTP transaction.
struct http_method* http_request::method |
Method.
Definition at line 212 of file http.h.
Referenced by http_digest_authenticate(), http_format_headers(), http_open(), and http_rx_headers().
const char* http_request::uri |
Request URI string.
Definition at line 214 of file http.h.
Referenced by http_digest_authenticate(), http_format_digest_auth(), http_format_headers(), and http_open().
const char* http_request::host |
Server host name.
Definition at line 216 of file http.h.
Referenced by http_format_host(), http_format_metadata_flavor(), and http_open().
struct http_request_range http_request::range |
Range descriptor.
Definition at line 218 of file http.h.
Referenced by http_format_p2p_peerdist(), http_format_range(), and http_open().
struct http_request_content http_request::content |
Content descriptor.
Definition at line 220 of file http.h.
Referenced by http_format_content_length(), http_format_content_type(), http_open(), and http_tx_request().
struct http_request_auth http_request::auth |
Authentication descriptor.
Definition at line 222 of file http.h.
Referenced by http_basic_authenticate(), http_digest_authenticate(), http_format_authorization(), http_format_basic_auth(), http_format_digest_auth(), http_format_ntlm_auth(), http_ntlm_authenticate(), http_parse_basic_auth(), http_parse_digest_auth(), http_parse_ntlm_auth(), and http_transfer_complete().