Data Fields | |
union { | |
EFI_HTTP_REQUEST_DATA * Request | |
EFI_HTTP_RESPONSE_DATA * Response | |
} | Data |
UINTN | HeaderCount |
EFI_HTTP_HEADER * | Headers |
UINTN | BodyLength |
VOID * | Body |
VOID* EFI_HTTP_MESSAGE::Body |
Body associated with the HTTP request or response. This can be NULL depending on the HttpMethod type.
Length in bytes of the HTTP body. This can be zero depending on the HttpMethod type.
union { ... } EFI_HTTP_MESSAGE::Data |
HTTP message data.
Number of HTTP header structures in Headers list. On request, this count is provided by the caller. On response, this count is provided by the HTTP driver.
Array containing list of HTTP headers. On request, this array is populated by the caller. On response, this array is allocated and populated by the HTTP driver. It is the responsibility of the caller to free this memory on both request and response.
When the token is used to send a HTTP request, Request is a pointer to storage that contains such data as URL and HTTP method.
When used to await a response, Response points to storage containing HTTP response status code.