iPXE
Data Fields
http_state Struct Reference

HTTP transaction state. More...

#include <http.h>

Data Fields

int(* tx )(struct http_transaction *http)
 Transmit data.
int(* rx )(struct http_transaction *http, struct io_buffer **iobuf)
 Receive data.
void(* close )(struct http_transaction *http, int rc)
 Server connection closed.

Detailed Description

HTTP transaction state.

Definition at line 393 of file http.h.


Field Documentation

int( * http_state::tx)(struct http_transaction *http)

Transmit data.

Parameters:
httpHTTP transaction
Return values:
rcReturn status code

Definition at line 399 of file http.h.

Referenced by http_step().

int( * http_state::rx)(struct http_transaction *http, struct io_buffer **iobuf)

Receive data.

Parameters:
httpHTTP transaction
iobufI/O buffer (may be claimed)
Return values:
rcReturn status code

Definition at line 406 of file http.h.

Referenced by http_conn_deliver().

void( * http_state::close)(struct http_transaction *http, int rc)

Server connection closed.

Parameters:
httpHTTP transaction
rcReason for close

Definition at line 413 of file http.h.

Referenced by http_conn_close().


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