#include <mhttpfilterbase.h>
Link against:
http.lib
class MHTTPFilterBase;
Description
A HTTP Filter. This is the base class for normal filters (MHTTPFilter) which adds an unload function, and MHTTPTransactionCallback, which doesn't add an unload function.
Members
Defined in MHTTPFilterBase:
Member functions
MHFRunL(RHTTPTransaction,const THTTPEvent &)
IMPORT_C virtual void MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent &aEvent);
Description
Called when the filter's registration conditions are satisfied for events that occur on a transaction. Any Leaves must be
handled by the appropriate MHFRunError. Note that this function is not allowed to leave if called with certain events.
Parameters
RHTTPTransaction aTransaction |
The transaction that the event has occurred on.
|
const THTTPEvent &aEvent |
The event that has occurred.
|
|
See also:
THTTPEventA HTTP status message. Status messages consist of a UID and a status code within...
MHFSessionRunL(const THTTPSessionEvent &)
IMPORT_C virtual void MHFSessionRunL(const THTTPSessionEvent &aEvent);
Description
Called when the filters registration conditions are satisfied for events that occur on the session. Any leaves must be handled
by the appropriate MHFRunError.
Parameters
MHFRunError(TInt,RHTTPTransaction,const THTTPEvent &)
IMPORT_C virtual TInt MHFRunError(TInt aError, RHTTPTransaction aTransaction, const THTTPEvent &aEvent);
Description
Called when RunL leaves from a transaction event. This works in the same way as CActve::RunError; return KErrNone if you have
handled the error. If you don't completely handle the error, a panic will occur.
Parameters
TInt aError |
The leave code that RunL left with.
|
RHTTPTransaction aTransaction |
The transaction that was being processed.
|
const THTTPEvent &aEvent |
The Event that was being processed.
|
|
Return value
TInt
|
KErrNone if the error has been cancelled or the code of the continuing error otherwise.
|
|
MHFSessionRunError(TInt,const THTTPSessionEvent &)
IMPORT_C virtual TInt MHFSessionRunError(TInt aError, const THTTPSessionEvent &aEvent);
Description
Called when MHFRunL leaves from a session event. This works in the same way as CActve::RunError If you don't completely handle
the error, a panic will occur.
Parameters
TInt aError |
The leave code that RunL left with.
|
const THTTPSessionEvent &aEvent |
The Event that was being processed.
|
|
Return value
TInt
|
KErrNone if the error has been cancelled or the code of the continuing error otherwise.
|
|