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

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

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

Public Member Functions

virtual const std::string & GetId () const =0
 Gets operation ID.
 
virtual std::shared_ptr< HttpResponseGetResponse ()=0
 Get response, if any.
 
virtual bool IsCancelled ()=0
 Get cancellation status of operation.
 

Detailed Description

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

Definition at line 44 of file http_operation.h.

Member Function Documentation

◆ GetId()

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

Gets operation ID.

Returns
Operation ID
Note
The corresponding HttpRequest and HttpResponse will have the same ID

◆ GetResponse()

virtual std::shared_ptr< HttpResponse > HttpOperation::GetResponse ( )
pure virtual

Get response, if any.

Returns
Response

◆ IsCancelled()

virtual bool HttpOperation::IsCancelled ( )
pure virtual

Get cancellation status of operation.

Returns
Cancellation status

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