Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:WebApplication (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> WebApplication
Package: 
UWeb
Direct subclasses:
HelloWeb, ImageServer, WebAdmin
This class in other games:
UT, UE2Runtime, UT2003, U2, U2XMP, UT2004, UDK

Parent class of "applications" for the WebServer.

Properties[edit]

Path[edit]

Type: string

Set by the WebServer class to the path configured for this application.

WebServer[edit]

Type: WebServer

A reference to the WebServer actor.

WorldInfo[edit]

Type: WorldInfo

A reference to the WorldInfo actor.

Instance functions[edit]

Cleanup[edit]

final function Cleanup ()

An empty dummy function for backward compatibility, that is no longer used.

CleanupApp[edit]

function CleanupApp ()

Called when the WebServer owning this application is destroyed. You should perform any general shutdown cleanup here.

Init[edit]

function Init ()

Called after the WebServer has created this WebApplication and initialized the three properties Path, WebServer and WorldInfo. Perform any global initialization here.

PostQuery[edit]

function PostQuery (WebRequest Request, WebResponse Response)

Called after the Query function. You can perform any post-query cleanup here.

PreQuery[edit]

function bool PreQuery (WebRequest Request, WebResponse Response)

Called before the Query function. Could be used to e.g. check general access policies. Returning False will skip the calls to Query() and PostQuery().

Query[edit]

function Query (WebRequest Request, WebResponse Response)

Processes a HTTP request and prepares the corresponding response.