Anope IRC Services  Version 2.0
Public Member Functions
WebPanelPage Class Referenceabstract

#include <webcpanel.h>

Inheritance diagram for WebPanelPage:
Inheritance graph
Collaboration diagram for WebPanelPage:
Collaboration graph

Public Member Functions

 WebPanelPage (const Anope::string &u, const Anope::string &ct="text/html")
virtual bool OnRequest (HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &)=0
- Public Member Functions inherited from HTTPPage
 HTTPPage (const Anope::string &u, const Anope::string &ct="text/html")
const Anope::stringGetURL () const
const Anope::stringGetContentType () const
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Detailed Description

Definition at line 64 of file webcpanel.h.

Constructor & Destructor Documentation

◆ WebPanelPage()

WebPanelPage::WebPanelPage ( const Anope::string u,
const Anope::string ct = "text/html" 

Definition at line 67 of file webcpanel.h.

Member Function Documentation

◆ OnRequest()

virtual bool WebPanelPage::OnRequest ( HTTPProvider ,
const Anope::string ,
HTTPClient ,
HTTPMessage ,
pure virtual

Called when this page is requested

Theserver this page is on
Thepage name
Theclient requesting the page
TheHTTP header sent from the client to request the page
TheHTTP header that will be sent back to the client

Implements HTTPPage.

Implemented in WebPanelProtectedPage, WebCPanel::Confirm, WebCPanel::Index, and WebCPanel::Register.

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