×

Discussion Board

Results 1 to 2 of 2

Thread: http filter

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    22

    Unhappy http filter

    Please!! Someone can help me to use http filter?
    i'm using it in this way
    Code:
    void CDemoFilter::ConstructL(RHTTPSession& aSession)
    	{	
    	iFilterName = aSession.StringPool().OpenFString(KDemoFilterName);
    	aSession.FilterCollection().AddFilterL(*this, THTTPEvent::EAll, EProtocolHandler, iFilterName);
    	}
    
    void CDemoFilter::MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent)
    	{
    	// called when a RHTTPTransaction event happens.
    	if (aEvent == THTTPEvent::ESubmit)
    		{
                     .....
                   }
    }
    void CDemoFilter::MHFSessionRunL(const THTTPSessionEvent& aEvent)
    	{
    	// called when an RHTTPSession even happens.
    		...
    	}
    MHFLoad function works! but RunL doesn't work. can you help me...please
    Last edited by tulimiero; 2009-03-21 at 16:36. Reason: change

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: http filter

    Wiki has at least two filter exmaples, so check what they do differently:
    - http://wiki.forum.nokia.com/index.ph...Demofilter.zip
    - http://wiki.forum.nokia.com/index.ph...mpleFilter.zip

Similar Threads

  1. Accessing the data in a HTTP filter
    By aquarian3183 in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-09-18, 06:24
  2. HTTP Authentication Filter
    By argonne in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-04-18, 14:05
  3. http filter problem
    By felixksp in forum Symbian C++
    Replies: 6
    Last Post: 2008-03-11, 10:56
  4. Add a Http cookie filter
    By shashishaw in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-11-01, 13:25
  5. Problem with Authentication filter in HTTP Client API on Series 60 2.x
    By william_j in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-09-06, 13:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •