iPXE
Data Fields
http_request_header Struct Reference

An HTTP request header. More...

#include <http.h>

Data Fields

const char * name
 Header name (e.g.
int(* format )(struct http_transaction *http, char *buf, size_t len)
 Construct remaining header line.

Detailed Description

An HTTP request header.

Definition at line 228 of file http.h.


Field Documentation

Header name (e.g.

"User-Agent")

Definition at line 230 of file http.h.

Referenced by http_format_headers().

int( * http_request_header::format)(struct http_transaction *http, char *buf, size_t len)

Construct remaining header line.

Parameters:
httpHTTP transaction
bufBuffer
lenLength of buffer
Return values:
lenHeader length if present, or negative error

Definition at line 238 of file http.h.

Referenced by http_format_headers().


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