Yet Another HTTP Library
yahttp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Typedefs
router.hpp File Reference
#include <functional>
#include <tuple>
#include <vector>
#include <utility>
Include dependency graph for router.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  YaHTTP::Router
 

Namespaces

 YaHTTP
 

Macros

#define HAVE_CPP_FUNC_PTR
 
#define IGNORE   std::ignore
 

Typedefs

typedef funcptr::function
< void(Request *req, Response
*resp)> 
YaHTTP::THandlerFunction
 Handler function pointer. More...
 
typedef funcptr::tuple
< std::string, std::string,
THandlerFunction, std::string > 
YaHTTP::TRoute
 Route tuple (method, urlmask, handler, name) More...
 
typedef std::vector< TRoute > YaHTTP::TRouteList
 List of routes in order of evaluation. More...
 

Macro Definition Documentation

#define HAVE_CPP_FUNC_PTR
#define IGNORE   std::ignore