Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add an HTTP pipeline stage to the client.
void add_handler(
std::function<pplx::task<http_response>(http_request,
std::shared_ptr<http::http_pipeline_stage>)> handler
);
void add_handler(
std::shared_ptr<http::http_pipeline_stage> stage
);
Parameters
handler
A function object representing the pipeline stage.stage
A shared pointer to a pipeline stage.
Requirements
Header: http_client.h
Namespace: web::http::client