iPXE
Functions | Variables
http.c File Reference

Hyper Text Transfer Protocol (HTTP) More...

#include <ipxe/open.h>
#include <ipxe/http.h>
#include <ipxe/features.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
 FEATURE (FEATURE_PROTOCOL, "HTTP", DHCP_EB_FEATURE_HTTP, 1)
 

Variables

struct uri_opener http_uri_opener __uri_opener
 HTTP URI opener. More...
 
struct http_scheme http_scheme __http_scheme
 HTTP URI scheme. More...
 

Detailed Description

Hyper Text Transfer Protocol (HTTP)

Definition in file http.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ FEATURE()

FEATURE ( FEATURE_PROTOCOL  ,
"HTTP"  ,
DHCP_EB_FEATURE_HTTP  ,
 
)

Variable Documentation

◆ __uri_opener

struct uri_opener http_uri_opener __uri_opener
Initial value:
= {
.scheme = "http",
.open = http_open_uri,
}
int http_open_uri(struct interface *xfer, struct uri *uri)
Open HTTP transaction for simple URI.
Definition: httpcore.c:1937

HTTP URI opener.

Definition at line 40 of file http.c.

◆ __http_scheme

struct http_scheme http_scheme __http_scheme
Initial value:
= {
.name = "http",
.port = HTTP_PORT,
}
#define HTTP_PORT
HTTP default port.
Definition: http.h:34

HTTP URI scheme.

Definition at line 46 of file http.c.