Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <rhttprequest.h>
Link against: http.lib

Class RHTTPRequest

class RHTTPRequest : public RHTTPMessage;

Description

An HTTP Request. This class extends the abstract HTTP Message to add an HTTP method to be invoked on the resource at the remote HTTP server, and the URL that identifies that resource.

Derivation

Members

Defined in RHTTPRequest:

Inherited from RHTTPMessage:


Member functions


Method()const

IMPORT_C RStringF Method() const;

Description

Gets the method name

Return value

RStringF

The method to be used in the HTTP request. ModelId=3C4C186E01B3


URI()const

IMPORT_C const TUriC8& URI() const;

Description

Gets the URI

Return value

const TUriC8 &

The URI to be used in the HTTP request. ModelId=3C4C186E01B2


SetMethod(RStringF)

IMPORT_C void SetMethod(RStringF aMethod);

Description

Sets the method name

Parameters

RStringF aMethod

The method name to be used in the HTTP request. ModelId=3C4C186E01B0


SetURIL(const TUriC8 &)

IMPORT_C void SetURIL(const TUriC8 &aURI);

Description

Sets the URI

Parameters

const TUriC8 &aURI

The URI to be used in the HTTP request. ModelId=3C4C186E01A6