Always snap to grid

UE3:WebResponse (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> WebResponse

Contents

Package: 
UWeb
This class in other games:
U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004

null

[edit] Properties

[edit] bSentResponse

Type: bool

Modifiers: protected


[edit] bSentText

Type: bool

Modifiers: protected

used to warn headers already sent

[edit] CharSet

Type: string

Modifiers: localized


[edit] Connection

Type: WebConnection


[edit] headers

Type: array<string>

headers send before the content

[edit] IncludePath

Type: string

Modifiers: const, config


Default value: "/Web"

[edit] ReplacementMap

Type: Object.Map_Mirror{TMultiMap<FString, FString>}

Modifiers: private, native, const

C++ placeholder.

[edit] Functions

[edit] Native functions

[edit] ClearSubst

native final function ClearSubst ()


[edit] Dump

native final function Dump ()


[edit] FileExists

native final function bool FileExists (string Filename)


[edit] GetHTTPExpiration

native final function string GetHTTPExpiration (optional int OffsetSeconds)


[edit] IncludeBinaryFile

native final function bool IncludeBinaryFile (string Filename)


[edit] IncludeUHTM

native final function bool IncludeUHTM (string Filename)


[edit] LoadParsedUHTM

native final function string LoadParsedUHTM (string Filename)


[edit] Subst

native final function Subst (string Variable, coerce string Value, optional bool bClear)


[edit] Events

[edit] SendBinary

event SendBinary (int Count, byte B[255])


[edit] SendText

event SendText (string Text, optional bool bNoCRLF)


[edit] Other instance functions

[edit] AddHeader

function AddHeader (string header, optional bool bReplace)

Add/update a header to the headers list. It will be send at the first possible occasion. To completely remove a given header simply give it an empty value, "X-Header:" To add multiple headers with the same name (need for Set-Cookie) you'll need to edit the headers array directly.

[edit] FailAuthentication

function FailAuthentication (string Realm)


[edit] HTTPError

function HTTPError (int ErrorNum, optional string Data)


[edit] HTTPHeader

function HTTPHeader (string Header)

Will actually send a header. You should not call this method, queue the headers through the AddHeader() method.

[edit] HTTPResponse

function HTTPResponse (string Header)

Send the HTTP response code.

[edit] Redirect

function Redirect (string URL)


[edit] SendCachedFile

function bool SendCachedFile (string Filename, optional string ContentType)


[edit] SendHeaders

function SendHeaders ()

Send the stored headers.

[edit] SendStandardHeaders

function SendStandardHeaders (optional string ContentType, optional bool bCache)

Send the standard response headers.

[edit] SentResponse

function bool SentResponse ()


[edit] SentText

function bool SentText ()


Personal tools