iPXE
Data Fields
http_connection Struct Reference

An HTTP connection. More...

#include <http.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct uriuri
 Connection URI. More...
 
struct http_schemescheme
 HTTP scheme. More...
 
struct interface socket
 Transport layer interface. More...
 
struct interface xfer
 Data transfer interface. More...
 
struct pooled_connection pool
 Pooled connection. More...
 

Detailed Description

An HTTP connection.

This represents a potentially reusable connection to an HTTP server.

Definition at line 71 of file http.h.

Field Documentation

◆ refcnt

struct refcnt http_connection::refcnt

Reference count.

Definition at line 73 of file http.h.

Referenced by http_connect().

◆ uri

struct uri* http_connection::uri

Connection URI.

This encapsulates the server (and protocol) used for the connection. This may be the origin server or a proxy server.

Definition at line 80 of file http.h.

Referenced by http_conn_close(), http_conn_free(), http_conn_xfer_close(), http_connect(), and https_filter().

◆ scheme

struct http_scheme* http_connection::scheme

HTTP scheme.

Definition at line 82 of file http.h.

Referenced by http_conn_close(), http_conn_xfer_close(), and http_connect().

◆ socket

struct interface http_connection::socket

Transport layer interface.

Definition at line 84 of file http.h.

Referenced by http_conn_close(), http_connect(), and https_filter().

◆ xfer

struct interface http_connection::xfer

Data transfer interface.

Definition at line 86 of file http.h.

Referenced by http_conn_close(), http_conn_socket_close(), http_conn_socket_deliver(), http_conn_xfer_close(), and http_connect().

◆ pool

struct pooled_connection http_connection::pool

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