HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_WebSocketHandler::Router Class Reference

#include <NET_HTTPTaskHandler.h>

+ Inheritance diagram for NET_WebSocketHandler::Router:

Public Types

using CreateCallback = std::function< NET_WebTaskHandlerPtr(NET_WebEndpoint &)>
 

Public Member Functions

template<typename... Args>
void emplace (Args &&...args)
 
NET_WebTaskHandlerPtr create (const char *url, NET_WebEndpoint &ep) const
 
bool contains (const char *url) const
 

Static Public Member Functions

static Routerinstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Detailed Description

Definition at line 71 of file NET_HTTPTaskHandler.h.

Member Typedef Documentation

Member Function Documentation

bool NET_WebSocketHandler::Router::contains ( const char *  url) const
inline

Definition at line 93 of file NET_HTTPTaskHandler.h.

NET_WebTaskHandlerPtr NET_WebSocketHandler::Router::create ( const char *  url,
NET_WebEndpoint ep 
) const
inline

Definition at line 85 of file NET_HTTPTaskHandler.h.

template<typename... Args>
void NET_WebSocketHandler::Router::emplace ( Args &&...  args)
inline

Definition at line 80 of file NET_HTTPTaskHandler.h.

static Router& NET_WebSocketHandler::Router::instance ( )
static

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