Working Maveric

HTTPScript.h

Committer:
mettrque
Date:
2017-08-22
Revision:
10:36a2131f636c
Parent:
0:bdca5e4773dd

File content as of revision 10:36a2131f636c:

/*
 * HTTPScript.h
 * Copyright (c) 2017, ZHAW
 * All rights reserved.
 *
 *  Created on: 02.02.2017
 *      Author: Marcel Honegger
 */

#ifndef HTTP_SCRIPT_H_
#define HTTP_SCRIPT_H_

#include <string>
#include <vector>

using namespace std;

/**
 * This is the abstract http script superclass that needs to be derived
 * by application specific http scripts.
 * @see HTTPServer
 */
class HTTPScript {
    
    public:
        
                        HTTPScript();
        virtual         ~HTTPScript();
        virtual string  call(vector<string> names, vector<string> values);
};

#endif /* HTTP_SCRIPT_H_ */