Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: rhttppropertyset.h
Link against: http.lib

Class RHTTPPropertySet

class RHTTPPropertySet;

Description

A set of named THTTPHdrVal objects. Used for storing arbitrary collections of information.

Members

Defined in RHTTPPropertySet:
Property(), RHTTPPropertySet(), RemoveAllProperties(), RemoveProperty(), SetPropertyL(), iImplementation


Construction and destruction


RHTTPPropertySet()

IMPORT_C RHTTPPropertySet();

Description

Default (uninitialised) constructor. An object constructed in this way means 'use text-mode HTTP with default settings'

[Top]


Member functions


Property()

IMPORT_C TBool Property(RStringF aPropertyName, THTTPHdrVal &aVal) const;

Description

Returns a property.

Parameters

RStringF aPropertyName

The name of the property.

THTTPHdrVal &aVal

The returned value of the property (if defined)

Return value

TBool

ETrue if the property exists


SetPropertyL()

IMPORT_C void SetPropertyL(RStringF aPropertyName, THTTPHdrVal aValue);

Description

Sets or creates a property.

Parameters

RStringF aPropertyName

The name of the property

THTTPHdrVal aValue

The new value of the property

Leave codes

KErrNoMemory

There was not enough memory.


RemoveProperty()

IMPORT_C void RemoveProperty(RStringF aPropertyName);

Description

Removes a named property.

Parameters

RStringF aPropertyName

The name of the property


RemoveAllProperties()

IMPORT_C void RemoveAllProperties();

Description

Removes all properties

[Top]


Member data


iImplementation

protected: CHeaderFieldPart * iImplementation;

Description