Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
HttpResponse Class Referenceabstract

Interface that describes a single HTTP response, implemented by client app when overriding HttpDelegate. More...

#include <src/api/mip/http_response.h>

Public Member Functions

virtual const std::vector< uint8_t > & GetBody () const =0
 Get request body.
 
virtual const std::map< std::string, std::string, CaseInsensitiveComparator > & GetHeaders () const =0
 Get request headers.
 
virtual const std::string & GetId () const =0
 Gets response ID.
 
virtual int32_t GetStatusCode () const =0
 Get response status code.
 

Detailed Description

Interface that describes a single HTTP response, implemented by client app when overriding HttpDelegate.

Definition at line 46 of file http_response.h.

Member Function Documentation

◆ GetBody()

virtual const std::vector< uint8_t > & HttpResponse::GetBody ( ) const
pure virtual

Get request body.

Returns
Request body

◆ GetHeaders()

virtual const std::map< std::string, std::string, CaseInsensitiveComparator > & HttpResponse::GetHeaders ( ) const
pure virtual

Get request headers.

Returns
Request headers

◆ GetId()

virtual const std::string & HttpResponse::GetId ( ) const
pure virtual

Gets response ID.

Returns
Response ID
Note
The corresponding HttpRequest will have had the same ID

◆ GetStatusCode()

virtual int32_t HttpResponse::GetStatusCode ( ) const
pure virtual

Get response status code.

Returns
Status code

The documentation for this class was generated from the following file: