ゴミ箱
Public Member Functions | Public Attributes | List of all members
http::Router::Context Struct Reference

#include <router.hpp>

Public Member Functions

 Context (const Context &that)=delete
 
 Context (Context &&other) noexcept=delete
 

Public Attributes

const boost::asio::ip::tcp::socket & socket
 asio's socket can give access to useful information such as local/remote endpoint. More...
 
const dynamic_requestrequest
 boost::beast request More...
 
dynamic_responseresponse
 boost::beast response into which handler writes stuff More...
 
const matches matches
 regex matches More...
 

Detailed Description

Context structure that contains beast's primitives.

For obvious reasons only response can be modified.

Constructor & Destructor Documentation

http::Router::Context::Context ( const Context that)
delete
http::Router::Context::Context ( Context &&  other)
deletenoexcept

Member Data Documentation

const matches http::Router::Context::matches

regex matches

const dynamic_request& http::Router::Context::request

boost::beast request

dynamic_response& http::Router::Context::response

boost::beast response into which handler writes stuff

const boost::asio::ip::tcp::socket& http::Router::Context::socket

asio's socket can give access to useful information such as local/remote endpoint.


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