16 #ifndef __EFI_HTTP_PROTOCOL_H__ 17 #define __EFI_HTTP_PROTOCOL_H__ 21 #define EFI_HTTP_SERVICE_BINDING_PROTOCOL_GUID \ 23 0xbdc8e6af, 0xd9bc, 0x4379, {0xa7, 0x2a, 0xe0, 0xc4, 0xe7, 0x5d, 0xae, 0x1c } \ 26 #define EFI_HTTP_PROTOCOL_GUID \ 28 0x7a59b29b, 0x910b, 0x4171, {0x82, 0x42, 0xa8, 0x5a, 0x0d, 0xf2, 0x5b, 0x5b } \ EFI_STATUS(EFIAPI * EFI_HTTP_RESPONSE)(IN EFI_HTTP_PROTOCOL *This, IN EFI_HTTP_TOKEN *Token)
The Response() function queues an HTTP response to this HTTP instance, similar to Receive() function ...
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
BOOLEAN UseDefaultAddress
Set to TRUE to instruct the EFI HTTP instance to use the default address information in every TCP con...
EFI_HTTPv4_ACCESS_POINT * IPv4Node
When LocalAddressIsIPv6 is FALSE, this points to the local address, subnet, and port used by the unde...
UINT16 LocalPort
This defines the local port to be used in every TCP connection opened by this instance.
EFI_HTTP_REQUEST_DATA * Request
When the token is used to send a HTTP request, Request is a pointer to storage that contains such dat...
128 bit buffer containing a unique identifier value.
VOID * EFI_EVENT
Handle to an event structure.
EFI_IPv4_ADDRESS LocalSubnet
If UseDefaultAddress is set to FALSE, this defines the local subnet to be used in every TCP connectio...
EFI_HTTP_VERSION
EFI_HTTP_VERSION.
The EFI HTTP protocol is designed to be used by EFI drivers and applications to create and transmit H...
EFI_IPv6_ADDRESS LocalAddress
Local IP address to be used in every TCP connection opened by this instance.
FILE_LICENCE(BSD2_PATENT)
EFI_STATUS(EFIAPI * EFI_HTTP_REQUEST)(IN EFI_HTTP_PROTOCOL *This, IN EFI_HTTP_TOKEN *Token)
The Request() function queues an HTTP request to this HTTP instance, similar to Transmit() function i...
CHAR16 * Url
The URI of a remote host.
EFI_HTTP_STATUS_CODE
EFI_HTTP_STATUS_CODE.
EFI_STATUS(EFIAPI * EFI_HTTP_CONFIGURE)(IN EFI_HTTP_PROTOCOL *This, IN EFI_HTTP_CONFIG_DATA *HttpConfigData OPTIONAL)
Initialize or brutally reset the operational parameters for this EFI HTTP instance.
EFI_GUID gEfiHttpProtocolGuid
EFI_HTTP_GET_MODE_DATA GetModeData
EFI_STATUS(EFIAPI * EFI_HTTP_GET_MODE_DATA)(IN EFI_HTTP_PROTOCOL *This, OUT EFI_HTTP_CONFIG_DATA *HttpConfigData)
Returns the operational parameters for the current HTTP child instance.
EFI_HTTP_STATUS_CODE StatusCode
Response status code returned by the remote host.
UINT16 LocalPort
Local port to be used in every TCP connection opened by this instance.
EFI_HTTP_RESPONSE_DATA * Response
When used to await a response, Response points to storage containing HTTP response status code.
EFI_HTTP_CONFIG_DATA_ACCESS_POINT.
UINTN BodyLength
Length in bytes of the HTTP body.
EFI_STATUS Status
Status will be set to one of the following value if the HTTP request is successfully sent or if an un...
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the EFI HTTP Protocol driver.
UINT64 UINTN
Unsigned value of native width.
#define VOID
Undeclared type.
EFI_HTTP_METHOD
EFI_HTTP_METHOD.
EFI_IPv4_ADDRESS LocalAddress
If UseDefaultAddress is set to FALSE, this defines the local IP address to be used in every TCP conne...
BOOLEAN LocalAddressIsIPv6
Defines behavior of EFI DNS and TCP protocols consumed by this instance.
EFI_HTTP_RESPONSE Response
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_HTTP_MESSAGE * Message
Pointer to storage containing HTTP message data.
EFI_HTTPv6_ACCESS_POINT * IPv6Node
When LocalAddressIsIPv6 is TRUE, this points to the local IPv6 address and port used by the underlyin...
EFI_HTTP_CONFIGURE Configure
EFI_HTTP_HEADER * Headers
Array containing list of HTTP headers.
EFI_HTTP_VERSION HttpVersion
HTTP version that this instance will support.
EFI_STATUS(EFIAPI * EFI_HTTP_CANCEL)(IN EFI_HTTP_PROTOCOL *This, IN EFI_HTTP_TOKEN *Token)
Abort an asynchronous HTTP request or response token.
EFI_STATUS(EFIAPI * EFI_HTTP_POLL)(IN EFI_HTTP_PROTOCOL *This)
The Poll() function can be used by network drivers and applications to increase the rate that data pa...
UINTN HeaderCount
Number of HTTP header structures in Headers list.
VOID * Body
Body associated with the HTTP request or response.
EFI_GUID gEfiHttpServiceBindingProtocolGuid
UINT32 TimeOutMillisec
Time out (in milliseconds) when blocking for requests.
EFI_HTTP_METHOD Method
The HTTP method (e.g.