1
0
KF2-Dev-Scripts/IpDrv/Classes/WebApplication.uc
2020-12-13 18:01:13 +03:00

31 lines
895 B
Ucode

/*=============================================================================
// WebApplication: Parent class for Web Server applications
Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
=============================================================================*/
class WebApplication extends Object;
// Set by the webserver
var WorldInfo WorldInfo;
var WebServer WebServer;
var string Path;
function Init();
// This is a dummy function which should never be called
// Here for backwards compatibility
final function Cleanup();
function CleanupApp()
{
if (WorldInfo != None)
WorldInfo = None;
if (WebServer != None)
WebServer = None;
}
function bool PreQuery(WebRequest Request, WebResponse Response) { return true; }
function Query(WebRequest Request, WebResponse Response);
function PostQuery(WebRequest Request, WebResponse Response);