CHttpNetworkConnection Class Reference

#include <mw/chttpnetworkconnectioninfo.h>

class CHttpNetworkConnection : public CBase

Inherits from

  • CHttpNetworkConnection

Member Function Documentation

New ( )

CHttpNetworkConnection *New()[static]

Start ( )

IMPORT_C TIntStart()

Start the network connection for HTTP transactions. Default connection prefernces will be used.

Return Value
KErrNone if connection opening is successful, otherwise relevant errors.

Start ( TCommDbConnPref, TBool )

IMPORT_C TIntStart(TCommDbConnPrefaConnPref,
TBoolaAttachType = EFalse
)

Start the network connection for HTTP transactions.

Parameters
aConnPref- connection prefernces can be specified.
aAttachType- EFalse
Return Value
KErrNoMemory incase of failure otherwise KErrNone for success

Stop ( )

IMPORT_C voidStop()

To Stop the network connection