libhttppp ..
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Controller Class Reference
Inheritance diagram for Controller:
Inheritance graph
[legend]
Collaboration diagram for Controller:
Collaboration graph
[legend]

Public Member Functions

 Controller (std::vector< netplus::socket * > serversocket)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
 Controller (std::vector< netplus::socket * > serversocket)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
 Controller (std::vector< netplus::socket * > serversocket)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
 Controller (std::vector< netplus::socket * > serversocket)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
 Controller (std::vector< netplus::socket * > serversocket)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
 Controller (std::vector< netplus::socket * > serversocket)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
 Controller (std::vector< netplus::socket * > serversocket)
 
void IndexController (libhttppp::HttpRequest &curreq)
 
void RequestEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
void ResponseEvent (libhttppp::HttpRequest &curreq, const int, ULONG_PTR)
 
- Public Member Functions inherited from libhttppp::HttpEvent
 HttpEvent (std::vector< netplus::socket * > serversocket, int timeout=1000)
 
virtual void ConnectEvent (HttpRequest &curreq, const int tid, ULONG_PTR args)
 
virtual void DisconnectEvent (HttpRequest &curreq, const int tid, ULONG_PTR args)
 
virtual bool Http2RequestEvent (netplus::con &curcon, const int tid, ULONG_PTR args, const std::string &alpn, const netplus::ssl::FramingCallback &frame_cb)
 
virtual void Http3StreamEvent (netplus::socket *sock, uint64_t stream_id, const std::vector< uint8_t > &data, bool fin)
 
virtual bool onH2StreamHeaders (HttpRequest &conn, uint32_t streamId, const std::vector< hpack::HeaderField > &headers)
 
virtual bool onH3StreamHeaders (netplus::socket *sock, uint64_t streamId, const std::vector< qpack::HeaderField > &headers)
 
virtual void onH2DataChunk (HttpRequest &conn, uint32_t streamId, const char *data, size_t len, bool endStream, std::string &h2out, const int tid, ULONG_PTR args)
 
virtual void onH3DataChunk (netplus::socket *sock, uint64_t streamId, const char *data, size_t len, bool fin)
 

Additional Inherited Members

- Protected Member Functions inherited from libhttppp::HttpEvent
void sendH2StreamResponse (std::string &h2out, uint32_t streamId, uint16_t status, const std::string &contentType, const std::string &body)
 
void sendH3StreamResponse (netplus::socket *sock, uint64_t streamId, uint16_t status, const std::string &contentType, const std::string &body)
 
virtual void CreateConnection (std::shared_ptr< netplus::con > &res)
 
virtual void RequestEvent (netplus::con &curcon, const int tid, ULONG_PTR args)
 
virtual void ResponseEvent (netplus::con &curcon, const int tid, ULONG_PTR args)
 
virtual void ConnectEvent (netplus::con &curcon, const int tid, ULONG_PTR args)
 
virtual void DisconnectEvent (netplus::con &curcon, const int tid, ULONG_PTR args)
 
- Protected Attributes inherited from libhttppp::HttpEvent
std::string _altSvcH3
 
netplus::TlsSessionCache _tlsSessionCache
 

Member Function Documentation

◆ RequestEvent() [1/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ RequestEvent() [2/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ RequestEvent() [3/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ RequestEvent() [4/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ RequestEvent() [5/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ RequestEvent() [6/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ RequestEvent() [7/7]

void Controller::RequestEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.

◆ ResponseEvent()

void Controller::ResponseEvent ( libhttppp::HttpRequest curreq,
const int  ,
ULONG_PTR   
)
inlinevirtual

Reimplemented from libhttppp::HttpEvent.


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