
/*---------------------------------------------------------------------------*/
/* webserver_passthrough_handler.h                                           */
/* copyright (c) innovaphone 2016                                            */
/*                                                                           */
/*---------------------------------------------------------------------------*/

#include <platform.h>

#include "sdk/common/interface/webserver_plugin.h"

#include "sdk/common/service/webserver_shared/webserver_internal.h"

#include "webserver_message_handler.h"
#include "webserver_passthrough_handler.h"


WebserverPassthroughHandler::WebserverPassthroughHandler(UWebserverMessageHandler * baseUser,
                                                         byte * extHeaderBuffer,
                                                         dword connectionID,
                                                         ulong64 dataSize,
                                                         char * resourceName,
                                                         char * resReqPath,
                                                         class ExtendedHeader & extHeader,
                                                         IWebserverMessage * const webserverMessageSend,
                                                         IInstanceLog * const log,
                                                         word protocolVersion)
    : WebserverMessageHandler("IWebserverPassthrough",
                              MSG_HANDLER_PASSTHROUGH,
                              baseUser,
                              extHeaderBuffer,
                              connectionID,
                              dataSize,
                              webserverMessageSend,
                              resourceName,
                              resReqPath,
                              log,
                              extHeader,
                              protocolVersion)
{
    this->user = NULL;
    this->dataSize = 0;
}


WebserverPassthroughHandler::~WebserverPassthroughHandler()
{
}
