blob: 82ceb8ae74c0da4fc42bc0f7b903ccd430d1c582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef PLEXREQHANDLERFACTORY_H
#define PLEXREQHANDLERFACTORY_H
#include <Poco/Net/HTTPRequestHandlerFactory.h> // Base class: Poco::Net::HTTPRequestHandlerFactory
#include <Poco/Net/HTTPRequestHandler.h>
#include <Poco/Net/HTTPServerRequest.h>
#include "PlexHTTPRequestHandler.h"
#include "Config.h"
namespace plexclient
{
class PlexReqHandlerFactory : public Poco::Net::HTTPRequestHandlerFactory
{
public:
PlexReqHandlerFactory();
~PlexReqHandlerFactory();
public:
virtual Poco::Net::HTTPRequestHandler* createRequestHandler(const Poco::Net::HTTPServerRequest& request);
};
}
#endif // PLEXREQHANDLERFACTORY_H
|