Anope IRC Services  Version 2.0
Public Member Functions
WebPanelPage Class Referenceabstract

#include <webcpanel.h>

Inheritance diagram for WebPanelPage:
Inheritance graph
[legend]
Collaboration diagram for WebPanelPage:
Collaboration graph
[legend]

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 ( const Anope::string u,
const Anope::string ct = "text/html" 
)
inline

Definition at line 67 of file webcpanel.h.

Member Function Documentation

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

Called when this page is requested

Parameters
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: