Anope IRC Services  Version 2.0
Public Member Functions
WebCPanel::Register Class Reference

#include <register.h>

Inheritance diagram for WebCPanel::Register:
Inheritance graph
Collaboration diagram for WebCPanel::Register:
Collaboration graph

Public Member Functions

 Register (const Anope::string &u)
bool OnRequest (HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override
- Public Member Functions inherited from WebPanelPage
 WebPanelPage (const Anope::string &u, const Anope::string &ct="text/html")
- 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 13 of file register.h.

Constructor & Destructor Documentation

◆ Register()

WebCPanel::Register::Register ( const Anope::string u)

Definition at line 16 of file register.h.

References anope_override, and OnRequest().

Member Function Documentation

◆ OnRequest()

bool WebCPanel::Register::OnRequest ( HTTPProvider ,
const Anope::string ,
HTTPClient ,
HTTPMessage ,

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 WebPanelPage.

Definition at line 10 of file register.cpp.

References page_title, and TemplateFileServer::Serve().

Referenced by Register().

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