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.
|
Internal class for pointer to implementation design pattern. More...
#include <http_listener.h>
Public Member Functions | |
_ASYNCRTIMP | http_listener_impl (http::uri address) |
_ASYNCRTIMP | http_listener_impl (http::uri address, http_listener_config config) |
_ASYNCRTIMP pplx::task< void > | open () |
_ASYNCRTIMP pplx::task< void > | close () |
_ASYNCRTIMP void | handle_request (http::http_request msg) |
Handler for all requests. The HTTP host uses this to dispatch a message to the pipeline. More... | |
const http::uri & | uri () const |
const http_listener_config & | configuration () const |
Public Attributes | |
std::function< void(http::http_request)> | m_all_requests |
std::map< http::method, std::function< void(http::http_request)> > | m_supported_methods |
Internal class for pointer to implementation design pattern.
_ASYNCRTIMP void web::http::experimental::listener::details::http_listener_impl::handle_request | ( | http::http_request | msg | ) |
Handler for all requests. The HTTP host uses this to dispatch a message to the pipeline.
Only HTTP server implementations should call this API.