Anope IRC Services  Version 2.0
static_fileserver.h
Go to the documentation of this file.
1 /*
2  * (C) 2003-2014 Anope Team
3  * Contact us at team@anope.org
4  *
5  * Please read COPYING and README for further details.
6  */
7 
8 #include "modules/httpd.h"
9 
10 /* A basic file server. Used for serving static content on disk. */
11 class StaticFileServer : public HTTPPage
12 {
14  public:
15  StaticFileServer(const Anope::string &f_n, const Anope::string &u, const Anope::string &c_t);
16 
18 };
19 
Anope::string file_name
bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override
#define anope_override
Definition: services.h:56
Definition: httpd.h:88
StaticFileServer(const Anope::string &f_n, const Anope::string &u, const Anope::string &c_t)