|
|
|
|
Location:
rhttpfiltercollection.h
Link against: http.lib
class RHTTPFilterCollection;
A Handle on the filter collection in a session. It provides facilities for adding and deleting filters and for querying what filters are installed.
Defined in RHTTPFilterCollection:
AddFilterL(), AddFilterL(), CanChangeFilters(), Query(), RHTTPFilterCollection(), RemoveFilter(), Session()
IMPORT_C void AddFilterL(MHTTPFilter &aFilter, THTTPEvent aEvent, RStringF aHeader, TInt aStatusCode, TInt aPosition, RStringF aName);
The session is open and no transactions have been created yet.
Adds a filter to the session's filter queue.
Note: This function only adds filters; it doesn't replace or otherwise affect any pre-existing filters.
|
IMPORT_C void AddFilterL(MHTTPFilter &aFilter, THTTPEvent aEvent, TInt aPosition, RStringF aName);
The session is open and no transactions have been created yet
Adds a filter to the session's filter queue. Intended Usage: This variant takes no status code or header. It is intended for filters that are only interested in events. For example session events.
|
IMPORT_C TBool CanChangeFilters() const;
|
IMPORT_C void RemoveFilter(RStringF aFilter);
Removes all filter registrations of the specified name.
|
IMPORT_C THTTPFilterIterator Query(RStringF aName=RStringF());
An iterator to look at all filter registrations of a particular name. By default it will find all filters.
|
|