33#ifndef API_MIP_HTTP_REQUEST_H_
34#define API_MIP_HTTP_REQUEST_H_
73 virtual const std::string&
GetId()
const = 0;
87 virtual const std::string&
GetUrl()
const = 0;
94 virtual const std::vector<uint8_t>&
GetBody()
const = 0;
101 virtual const std::map<std::string, std::string, CaseInsensitiveComparator>&
GetHeaders()
const = 0;
Interface that describes a single HTTP request.
virtual const std::vector< uint8_t > & GetBody() const =0
Get request body.
virtual TransportLayerSecurityMinimumVersion GetTransportLayerSecurityMinimumVersion() const =0
Get the minimum required TLS version for this request.
virtual HttpRequestType GetRequestType() const =0
Get request type.
virtual const std::string & GetId() const =0
Gets request ID.
virtual const std::map< std::string, std::string, CaseInsensitiveComparator > & GetHeaders() const =0
Get request headers.
virtual const std::string & GetUrl() const =0
Get request url.
A file Containing the common types used by the upe, file and protection modules.
TransportLayerSecurityMinimumVersion
Minimum TLS version.
HttpRequestType
HTTP request type.