iPXE
http_scheme Struct Reference

An HTTP URI scheme. More...

#include <http.h>

Data Fields

const char * name
 Scheme name (e.g.
unsigned int port
 Default port.
int(* filter )(struct http_connection *conn)
 Transport-layer filter (if any)

Detailed Description

An HTTP URI scheme.

Definition at line 41 of file http.h.

Field Documentation

◆ name

const char* http_scheme::name

Scheme name (e.g.

"http" or "https")

Definition at line 43 of file http.h.

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

◆ port

unsigned int http_scheme::port

Default port.

Definition at line 45 of file http.h.

Referenced by http_connect().

◆ filter

int(* http_scheme::filter) (struct http_connection *conn)

Transport-layer filter (if any)

Parameters
connHTTP connection
Return values
rcReturn status code

Definition at line 51 of file http.h.

Referenced by http_connect().


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