
/*-----------------------------------------------------------------------------------------------*/
/* ipcmd_web.h                                                                                   */
/* copyright (c) innovaphone 2021                                                                */
/*                                                                                               */
/* interface of command for incoming requests from the webserve                                  */
/*-----------------------------------------------------------------------------------------------*/

class ipcmd_web {
public:
    virtual void WebserverPluginHttpListenResult(IWebserverPlugin * plugin, ws_request_type_t requestType, char * resourceName, const char * registeredPathForRequest, ulong64 dataSize) = 0;
    virtual void WebserverPluginWebsocketListenResult(IWebserverPlugin * plugin, const char * path) = 0;
    virtual void GetHttpfile(IWebserverPlugin * plugin, char * resourceName, int offsetFile, class httpfile * file) = 0;
    virtual void PostHttpfile(IWebserverPlugin * plugin, char * resourceName, int offsetFile, class httpfile * file) = 0;
};
