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

#include <index.h>

Inheritance diagram for WebCPanel::Index:
Inheritance graph
Collaboration diagram for WebCPanel::Index:
Collaboration graph

Public Member Functions

 Index (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 index.h.

Constructor & Destructor Documentation

◆ Index()

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

Definition at line 16 of file index.h.

References anope_override, and OnRequest().

Member Function Documentation

◆ OnRequest()

bool WebCPanel::Index::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 78 of file index.cpp.

References IdentifyRequest::Dispatch(), Anope::string::empty(), FOREACH_MOD, me, page_title, HTTPMessage::post_data, WebpanelRequest::replacements, TemplateFileServer::Serve(), and WebpanelRequest::WebpanelRequest().

Referenced by Index().

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