Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:


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(RStringF,THTTPHdrVal &)const

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(RStringF,THTTPHdrVal)

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(RStringF)

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