Working Maveric

HTTPScript.cpp

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

File content as of revision 10:36a2131f636c:

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

#include "HTTPScript.h"

using namespace std;

HTTPScript::HTTPScript() {}

HTTPScript::~HTTPScript() {}

/**
 * This method must be implemented by derived classes.
 * It gets called by the http server, when an object of this class is
 * registered with the server, and the corresponding script is called
 * by an http client.
 * @param names a vector of the names of arguments passed to the server by
 * the client with a URL.
 * @param values a vector of the corresponding values of arguments passed
 * to the server.
 */
string HTTPScript::call(vector<string> names, vector<string> values) {
    
    return "";
}