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 | List of all members
web::http::experimental::listener::details::http_listener_impl Class Reference

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::uriuri () const
 
const http_listener_configconfiguration () 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
 

Detailed Description

Internal class for pointer to implementation design pattern.

Member Function Documentation

_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.


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