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

#include <confirm.h>

Inheritance diagram for WebCPanel::Confirm:
Inheritance graph
Collaboration diagram for WebCPanel::Confirm:
Collaboration graph

Public Member Functions

 Confirm (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 confirm.h.

Constructor & Destructor Documentation

◆ Confirm()

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

Definition at line 16 of file confirm.h.

References anope_override, and OnRequest().

Member Function Documentation

◆ OnRequest()

bool WebCPanel::Confirm::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 confirm.cpp.

References Anope::string::empty(), page_title, HTTPMessage::post_data, Anope::string::push_back(), WebPanel::RunCommand(), and TemplateFileServer::Serve().

Referenced by Confirm().

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