drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
HttpBinder.h File Reference
#include <drogon/exports.h>
#include <drogon/DrClassMap.h>
#include <drogon/DrObject.h>
#include <drogon/utils/FunctionTraits.h>
#include <drogon/utils/Utilities.h>
#include <drogon/HttpRequest.h>
#include <deque>
#include <memory>
#include <sstream>
#include <string>
Include dependency graph for HttpBinder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drogon::internal::BinderArgTypeTraits< T >
struct  drogon::internal::BinderArgTypeTraits< T * >
struct  drogon::internal::BinderArgTypeTraits< T & >
struct  drogon::internal::BinderArgTypeTraits< T && >
struct  drogon::internal::BinderArgTypeTraits< const T && >
struct  drogon::internal::BinderArgTypeTraits< const T & >
class  drogon::internal::HttpBinderBase
class  drogon::internal::HttpBinder< FUNCTION >

Namespaces

namespace  drogon
 Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2.

Typedefs

using drogon::internal::HttpBinderBasePtr = std::shared_ptr<HttpBinderBase>

Functions

template<typename T>
drogon::internal::getHandlerArgumentValue (std::string &&p)
template<>
std::string drogon::internal::getHandlerArgumentValue< std::string > (std::string &&p)
template<>
int drogon::internal::getHandlerArgumentValue< int > (std::string &&p)
template<>
long drogon::internal::getHandlerArgumentValue< long > (std::string &&p)
template<>
long long drogon::internal::getHandlerArgumentValue< long long > (std::string &&p)
template<>
unsigned long drogon::internal::getHandlerArgumentValue< unsigned long > (std::string &&p)
template<>
unsigned long long drogon::internal::getHandlerArgumentValue< unsigned long long > (std::string &&p)
template<>
float drogon::internal::getHandlerArgumentValue< float > (std::string &&p)
template<>
double drogon::internal::getHandlerArgumentValue< double > (std::string &&p)
template<>
long double drogon::internal::getHandlerArgumentValue< long double > (std::string &&p)
template<typename T>
T & drogon::internal::getControllerObj ()
DROGON_EXPORT void drogon::internal::handleException (const std::exception &, const HttpRequestPtr &, std::function< void(const HttpResponsePtr &)> &&)

Detailed Description

Author
An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon