| Home Page | Recent Changes | Preferences

# WebApplication

UT2003 :: Object >> WebApplication (Package: UWeb)

Manages web access to the UT2003 server. (Also see WebApplication (UT).)

## Properties

LevelInfo Level
WebServer WebServer
string Path

## Methods

Init ( )
  Called to do any initialisation of the "Web Application" required. A good place to create any helper classes that may be required.
Cleanup ( )
  Called when the client's connection is timed out?
bool PreQuery (WebRequest Request, WebResponse Response)
  This function is called before the the Query(), it's the best place to handle authentication. When "something" is not correct with the query (e.g. authentication failed, or requested file does not exist) the function should return false. In that case Query and PostQuery are not called.
Query (WebRequest Request, WebResponse Response)
  Called to handle the user's request. It seems that the page requested is pre-loaded by the time this function is called but is that really true?
PostQuery (WebRequest Request, WebResponse Response)
  Called after the Query() function has returned. If you need to clean up temporary resources used during the query this is the place to do it.

## Known subclasses

- HelloWeb example
- ImageServer
- UTServerAdmin

## Related Topics

- Creating a WebApplication

Category Class (UT2003)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In