Share via


Azure::Response< T > Class Template Reference

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.

Public Attributes

Value

The value returned by the service.

std::unique_ptr< Azure::Core::Http::RawResponse

RawResponse

The HTTP response returned by the service.

Detailed Description

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

Template Parameters

T
A specific type of value to get from the raw HTTP response.

Constructor & Destructor Documentation

Response()

template<class T >
Azure::Response< T >::Response(T                                                      value,      
                               std::unique_ptr< Azure::Core::Http::RawResponse< T > > rawResponse 
                              ) inline explicit

Parameters

value
The value returned by the service.
rawResponse
The HTTP response returned by the service.