共用方式為


http_pipeline_stage Class

HTTP client handler class, used to represent an HTTP pipeline stage.

Warning

This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at http://casablanca.codeplex.com/documentation.

class http_pipeline_stage : public std::enable_shared_from_this<http_pipeline_stage>;

Members

Public Constructors

Name

Description

http_pipeline_stage::~http_pipeline_stage Destructor

Protected Constructors

Name

Description

http_pipeline_stage::http_pipeline_stage Constructor

Public Methods

Name

Description

http_pipeline_stage::propagate Method

Runs this stage against the given request and passes onto the next stage.

Protected Methods

Name

Description

http_pipeline_stage::current_stage Method

Gets a shared pointer to this pipeline stage.

http_pipeline_stage::next_stage Method

Gets the next stage in the pipeline.

Remarks

When a request goes out, it passes through a series of stages, customizable by the application and/or libraries. The default stage will interact with lower-level communication layers to actually send the message on the network. When creating a client instance, an application may add pipeline stages in front of the already existing stages. Each stage has a reference to the next stage available in the value.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

web::http Namespace