Classes | Public Types | Public Member Functions | List of all members
util::uring::HttpListenerBase Class Reference
+ Inheritance diagram for util::uring::HttpListenerBase:
+ Collaboration diagram for util::uring::HttpListenerBase:

Public Types

using RequestType = ::boost::beast::http::request<::boost::beast::http::string_body >
 
typedef std::function< void(const http::QueryArgs &, HttpContext *)> RequestCb
 

Public Member Functions

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 ConnectionNewConnection (Proactor *context)=0
 
virtual void PreAcceptLoop (Proactor *owner)
 
virtual void PreShutdown ()
 
virtual void PostShutdown ()
 
virtual uint32_t GetSockOptMask () const
 

Additional Inherited Members

- Protected Member Functions inherited from util::uring::ListenerInterface
ProactorPoolpool ()
 
FiberSocketlistener ()
 

Detailed Description

Definition at line 47 of file http_handler.h.


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