Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
HttpCookies
Cookie management system. Part of [[LibHTTP]].
Dcoumentation and Information:
http://wiki.beyondunreal.com/wiki/LibHTTP
Authors: Michiel 'El Muerte' Hendriks <elmuerte@drunksnipers.com>
Copyright 2003, 2004 Michiel "El Muerte" Hendriks
Released under the Lesser Open Unreal Mod License
http://wiki.beyondunreal.com/wiki/LesserOpenUnrealModLicense
Core.Object | +-- LibHTTP4.HttpCookies
Constants Summary |
---|
Inherited Contants from Core.Object |
---|
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Standalone, RF_Transactional, RF_Transient |
Variables Summary | |
---|---|
array<HTTPCookie> | CookieData |
int | iVerbose |
HttpUtil | Utils |
Inherited Variables from Core.Object |
---|
Class, Name, ObjectFlags, ObjectInternal[7], Outer |
Enumerations Summary |
---|
Inherited Enumerations from Core.Object |
---|
EAxis, ECamOrientation, EDetailMode, EDrawPivot, ESheerAxis |
Structures Summary | ||
---|---|---|
HTTPCookie name, value, expires, domain, path |
Inherited Structures from Core.Object |
---|
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector |
Functions Summary | ||
---|---|---|
AddCookie (string cname, string value, int CurrentTimeStamp, optional int expires, optional string domain, optional string path)) | ||
Created ())) | ||
string | EscapeQuotes (string in)) | |
string | GetCookie (string cname, string domain, string path, optional string defvalue)) | |
string | GetCookieString (string Domain, string Path, int CurrentTimeStamp)) | |
Logf (coerce string message, optional int level, optional coerce string Param1, optional coerce string Param2)) | ||
bool | ParseCookieData (string data, string rDomain, string rPath, optional int CurrentTimeStamp, optional bool bAdd, optional int TZoffset)) | |
string | UnescapeQuotes (string in)) |
Variables Detail |
---|
the cookie data
log verbosity
out utility belt
Structures Detail |
---|
var string domain;};
var int expires;
var string name;
var string path;
var string value;
cookie entry
domain:available to domainexpires:exprises timestampname:the cookie namepath:path in the domainvalue:the current value
Functions Detail |
---|
Add or overwrite a new cookie If value is empty the cookie will be deleted If expires is in the past the cookie will be deleted
Return the value of a cookie
Create a cookie string. TimeStamp should be the real current timestamp (not GMT corrected)
Parse a string to a cookie rDomain and rPath are use to check if the cookie domain/path are valid CurrentTimeStamp is required for adding if bAdd is true add it to the list returns true when the string is a valid cookie
Defaultproperties |
---|
defaultproperties
{
iVerbose=-1
}
|
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |