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.
|
Context for http request through Windows HTTP Server API. More...
#include <http_server_httpsys.h>
Public Member Functions | |
void | async_process_request (HTTP_REQUEST_ID request_id, http::http_request msg, const unsigned long headers_size) |
void | dispatch_request_to_listener (_In_ web::http::experimental::listener::details::http_listener_impl *pListener) |
void | read_request_body_chunk () |
void | async_process_response () |
void | transmit_body () |
void | read_headers_io_completion (DWORD error_code, DWORD bytes_read) |
void | read_body_io_completion (DWORD error_code, DWORD bytes_read) |
void | send_response_io_completion (DWORD error_code, DWORD bytes_read) |
void | send_response_body_io_completion (DWORD error_code, DWORD bytes_read) |
void | cancel_request_io_completion (DWORD error_code, DWORD bytes_read) |
Public Attributes | |
std::mutex | m_responseCompletedLock |
pplx::task_completion_event< void > | m_response_completed |
HTTP_REQUEST_ID | m_request_id |
bool | m_sending_in_chunks |
bool | m_transfer_encoding |
size_t | m_remaining_to_write |
HTTP_REQUEST * | m_request |
std::unique_ptr< unsigned char[]> | m_request_buffer |
std::unique_ptr< HTTP_UNKNOWN_HEADER[]> | m_headers |
std::vector< std::string > | m_headers_buffer |
http_overlapped | m_overlapped |
http_request | m_msg |
http_response | m_response |
std::exception_ptr | m_except_ptr |
Context for http request through Windows HTTP Server API.