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.
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
web::http::client::details::request_context Class Reference

Public Member Functions

void complete_headers ()
 
void complete_request (utility::size64_t body_size)
 Completes this request, setting the underlying task completion event, and cleaning up the handles More...
 
void report_error (unsigned long error_code, const std::string &errorMessage)
 
template<typename _ExceptionType >
void report_exception (const _ExceptionType &e)
 
virtual void report_exception (std::exception_ptr exceptionPtr)
 
virtual concurrency::streams::streambuf< uint8_t > _get_readbuffer ()
 
concurrency::streams::streambuf< uint8_t > _get_writebuffer ()
 

Public Attributes

std::shared_ptr< _http_client_communicatorm_http_client
 
http_request m_request
 
http_response m_response
 
utility::size64_t m_uploaded
 
utility::size64_t m_downloaded
 
pplx::task_completion_event< http_responsem_request_completion
 
pplx::cancellation_token_registration m_cancellationRegistration
 

Protected Member Functions

 request_context (const std::shared_ptr< _http_client_communicator > &client, const http_request &request)
 
virtual void finish ()
 

Member Function Documentation

void web::http::client::details::request_context::complete_request ( utility::size64_t  body_size)
inline

Completes this request, setting the underlying task completion event, and cleaning up the handles


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