Public Member Functions | List of all members
util::uring::HttpListener< Handler > Class Template Reference
+ Inheritance diagram for util::uring::HttpListener< Handler >:
+ Collaboration diagram for util::uring::HttpListener< Handler >:

Public Member Functions

ConnectionNewConnection (Proactor *) final
 
- Public Member Functions inherited from util::uring::HttpListenerBase
bool RegisterCb (StringPiece path, RequestCb cb)
 
void set_resource_prefix (const char *prefix)
 
void set_favicon (const char *favicon)
 
- Public Member Functions inherited from util::uring::ListenerInterface
void RegisterPool (ProactorPool *pool)
 
virtual void PreAcceptLoop (Proactor *owner)
 
virtual void PreShutdown ()
 
virtual void PostShutdown ()
 
virtual uint32_t GetSockOptMask () const
 

Additional Inherited Members

- Public Types inherited from util::uring::HttpListenerBase
using RequestType = ::boost::beast::http::request<::boost::beast::http::string_body >
 
typedef std::function< void(const http::QueryArgs &, HttpContext *)> RequestCb
 
- Protected Member Functions inherited from util::uring::ListenerInterface
ProactorPoolpool ()
 
FiberSocketlistener ()
 

Detailed Description

template<typename Handler = HttpHandler2>
class util::uring::HttpListener< Handler >

Definition at line 91 of file http_handler.h.

Member Function Documentation

◆ NewConnection()

template<typename Handler = HttpHandler2>
Connection* util::uring::HttpListener< Handler >::NewConnection ( Proactor context)
inlinefinalvirtual

Creates a dedicated handler for a new connection. Called per new accepted connection

Implements util::uring::ListenerInterface.

Definition at line 96 of file http_handler.h.


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