azure-core
Public Member Functions | Public Attributes | List of all members
Azure::Response< T > Class Template Referencefinal

Represents the result of an Azure operation over HTTP by wrapping the raw HTTP response from a request made to the service into a response of a specific type. More...

#include <response.hpp>

Public Member Functions

 Response (T value, std::unique_ptr< Azure::Core::Http::RawResponse > rawResponse)
 Constructs a Response with the value and raw response returned by the service. More...
 

Public Attributes

Value
 The value returned by the service.
 
std::unique_ptr< Azure::Core::Http::RawResponseRawResponse
 The HTTP response returned by the service.
 

Detailed Description

template<class T>
class Azure::Response< T >

Template Parameters
TA specific type of value to get from the raw HTTP response.

Constructor & Destructor Documentation

◆ Response()

template<class T >
Azure::Response< T >::Response ( value,
std::unique_ptr< Azure::Core::Http::RawResponse< T > >  rawResponse 
)
inlineexplicit
Parameters
valueThe value returned by the service.
rawResponseThe HTTP response returned by the service.

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