TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishHttpDxe.h
Go to the documentation of this file.
1
10#ifndef EDKII_REDFISH_HTTP_DXE_H_
11#define EDKII_REDFISH_HTTP_DXE_H_
12
13#include <Uefi.h>
14#include <RedfishCommon.h>
16
17#include <Library/UefiLib.h>
18#include <Library/BaseLib.h>
21#include <Library/DebugLib.h>
22#include <Library/HttpLib.h>
23#include <Library/JsonLib.h>
28#include <Library/PrintLib.h>
29
30#include <Protocol/Http.h>
33#include <Protocol/RestEx.h>
34
35#define REDFISH_HTTP_CACHE_LIST_SIZE 0x80
36#define REDFISH_ERROR_MSG_MAX 128
37#define REDFISH_DEBUG_STRING_LENGTH 200
38#define REDFISH_HOST_NAME_MAX 64 // IPv6 maximum length (39) + "https://" (8) + port number (maximum 5)
39#define REDFISH_HTTP_ERROR_REPORT "Redfish HTTP %a failure(0x%x): %s"
40#define REDFISH_HTTP_CACHE_DEBUG DEBUG_MANAGEABILITY
41#define REDFISH_HTTP_CACHE_DEBUG_DUMP DEBUG_MANAGEABILITY
42#define REDFISH_HTTP_CACHE_DEBUG_REQUEST DEBUG_MANAGEABILITY
43
44#endif