C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
|
#include <http_msg.h>
Public Member Functions | |
pplx::task< http_response > | propagate (http_request request) |
Initiate an http request into the pipeline More... | |
void | append (const std::shared_ptr< http_pipeline_stage > &stage) |
Adds an HTTP pipeline stage to the pipeline. More... | |
void | set_last_stage (const std::shared_ptr< http_pipeline_stage > &last) |
Sets the last stage of the pipeline. More... | |
const std::shared_ptr< http_pipeline_stage > & | last_stage () const |
Retrieves the last stage in this pipeline. More... | |
Static Public Member Functions | |
static std::shared_ptr< http_pipeline > | create_pipeline (const std::shared_ptr< http_pipeline_stage > &last) |
Create an http pipeline that consists of a linear chain of stages More... | |
|
inline |
Adds an HTTP pipeline stage to the pipeline.
stage | A pipeline stage. |
|
inlinestatic |
Create an http pipeline that consists of a linear chain of stages
last | The final stage |
|
inline |
Retrieves the last stage in this pipeline.
|
inline |
Initiate an http request into the pipeline
request | Http request |
|
inline |
Sets the last stage of the pipeline.
last | Shared pointer to pipeline stage to set as the last. |