HTTPServer/HTTPParameters.h
2022-06-29 11:38:44 -07:00

37 lines
834 B
C++

#ifndef __HTTPParameters_h__
#define __HTTPParameters_h__
#include "HTTPRequest.h"
#include "HTTPSession.h"
#include "HTTPActionList.h"
#include "TCPSession.h"
#include <sstream>
namespace http {
///
/// HTTPParameters groups the objects needed to access request
/// data and a means to return the content of a response message.
///
class HTTPParameters {
public:
HTTPParameters(HTTPRequest &httpRequest,
core::TCPSession &session,
HTTPSession &httpSession,
std::stringstream &data,
HTTPActionList &actionList);
HTTPRequest &httpRequest;
core::TCPSession &session;
HTTPSession &httpSession;
std::stringstream &data;
HTTPActionList &actionList;
};
}
#endif