| title | class HttpResponse |
|---|---|
| description | Documents the httpresponse::undefined class of the Microsoft Information Protection (MIP) SDK. |
| author | msmbaldwin |
| ms.service | information-protection |
| ms.topic | reference |
| ms.author | mbaldwin |
| ms.date | 11/07/2023 |
Interface that describes a single HTTP response, implemented by client app when overriding HttpDelegate.
| Members | Descriptions |
|---|---|
| public const std::string& GetId() const | Gets response ID. |
| public int32_t GetStatusCode() const | Get response status code. |
| public const std::vector<uint8_t>& GetBody() const | Get request body. |
| public const std::map<std::string, std::string, CaseInsensitiveComparator>& GetHeaders() const | Get request headers. |
Gets response ID.
Returns: Response ID The corresponding HttpRequest will have had the same ID
Get response status code.
Returns: Status code
Get request body.
Returns: Request body
Get request headers.
Returns: Request headers