TrinityCore
HttpCommon.h File Reference
#include "Define.h"
#include <boost/beast/http/message.hpp>
#include <boost/beast/http/string_body.hpp>
+ Include dependency graph for HttpCommon.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Trinity::Net::Http::RequestContext
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Net
 
namespace  Trinity::Net::Http
 

Typedefs

using Trinity::Net::Http::RequestBody = boost::beast::http::string_body
 
using Trinity::Net::Http::ResponseBody = boost::beast::http::string_body
 
using Trinity::Net::Http::Request = boost::beast::http::request< RequestBody >
 
using Trinity::Net::Http::Response = boost::beast::http::response< ResponseBody >
 

Enumerations

enum class  Trinity::Net::Http::RequestHandlerResult { Trinity::Net::Http::Handled , Trinity::Net::Http::Error , Trinity::Net::Http::Async }
 

Functions

TC_SHARED_API bool Trinity::Net::Http::CanLogRequestContent (RequestContext const &context)
 
TC_SHARED_API bool Trinity::Net::Http::CanLogResponseContent (RequestContext const &context)
 
std::string_view Trinity::Net::Http::ToStdStringView (boost::beast::string_view bsw)