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.

    Returns: 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.

    ParameterDescription
    aConnPref- connection prefernces can be specified.
    aAttachType- EFalse

    Returns: KErrNoMemory incase of failure otherwise KErrNone for success

    Stop ( )

    IMPORT_C voidStop()

    To Stop the network connection