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. More...
 
int(* format )(struct http_transaction *http, char *buf, size_t len)
 Construct remaining header line. More...
 

Detailed Description

An HTTP request header.

Definition at line 226 of file http.h.

Field Documentation

◆ name

const char* http_request_header::name

Header name (e.g.

"User-Agent")

Definition at line 228 of file http.h.

◆ format

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 236 of file http.h.


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