![]() |
TrinityCore
|
Namespaces | |
namespace | Impl |
Classes | |
class | AbstractSocket |
class | BaseSocket |
class | DispatcherService |
class | HttpService |
struct | RequestContext |
struct | RequestHandler |
class | SessionService |
struct | SessionState |
class | Socket |
class | SslSocket |
Concepts | |
concept | HttpRequestHandler |
Typedefs | |
using | RequestSerializer = boost::beast::http::request_serializer< ResponseBody > |
using | ResponseSerializer = boost::beast::http::response_serializer< ResponseBody > |
using | RequestParser = boost::beast::http::request_parser< RequestBody > |
using | RequestBody = boost::beast::http::string_body |
using | ResponseBody = boost::beast::http::string_body |
using | Request = boost::beast::http::request< RequestBody > |
using | Response = boost::beast::http::response< ResponseBody > |
Enumerations | |
enum class | RequestHandlerResult { Handled , Error , Async } |
enum class | RequestHandlerFlag { None = 0x0 , DoNotLogRequestContent = 0x1 , DoNotLogResponseContent = 0x2 } |
Functions | |
TC_SHARED_API bool | CanLogRequestContent (RequestContext const &context) |
TC_SHARED_API bool | CanLogResponseContent (RequestContext const &context) |
std::string_view | ToStdStringView (boost::beast::string_view bsw) |
DEFINE_ENUM_FLAG (RequestHandlerFlag) | |
using Trinity::Net::Http::Request = typedef boost::beast::http::request<RequestBody> |
Definition at line 30 of file HttpCommon.h.
using Trinity::Net::Http::RequestBody = typedef boost::beast::http::string_body |
Definition at line 27 of file HttpCommon.h.
using Trinity::Net::Http::RequestParser = typedef boost::beast::http::request_parser<RequestBody> |
Definition at line 35 of file BaseHttpSocket.h.
using Trinity::Net::Http::RequestSerializer = typedef boost::beast::http::request_serializer<ResponseBody> |
Definition at line 23 of file BaseHttpSocket.cpp.
using Trinity::Net::Http::Response = typedef boost::beast::http::response<ResponseBody> |
Definition at line 31 of file HttpCommon.h.
using Trinity::Net::Http::ResponseBody = typedef boost::beast::http::string_body |
Definition at line 28 of file HttpCommon.h.
using Trinity::Net::Http::ResponseSerializer = typedef boost::beast::http::response_serializer<ResponseBody> |
Definition at line 24 of file BaseHttpSocket.cpp.
|
strong |
Enumerator | |
---|---|
None | |
DoNotLogRequestContent | |
DoNotLogResponseContent |
Definition at line 39 of file HttpService.h.
|
strong |
Enumerator | |
---|---|
Handled | |
Error | |
Async |
Definition at line 48 of file HttpCommon.h.
bool Trinity::Net::Http::CanLogRequestContent | ( | RequestContext const & | context | ) |
Definition at line 28 of file HttpService.cpp.
bool Trinity::Net::Http::CanLogResponseContent | ( | RequestContext const & | context | ) |
Definition at line 33 of file HttpService.cpp.
Trinity::Net::Http::DEFINE_ENUM_FLAG | ( | RequestHandlerFlag | ) |
|
inline |