equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-1D9EA46B-CF0B-4779-97F9-5BECA3622777" xml:lang="en"><title>Enabling |
|
13 MHTTPDataOptimiser for a transaction </title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>You must use the <codeph>RHTTPTransaction::SetupHTTPDataOptimiser()</codeph> function |
|
15 of the <codeph>RHTTPTransaction</codeph> class to enable the <codeph>MHTTPDataOptimiser</codeph> implementation |
|
16 for a particular transaction. The following code illustrates the <codeph>RHTTPTransaction</codeph> class: </p> |
|
17 <codeblock id="GUID-81EA4D70-7157-5C17-9B3F-B6B197434642" xml:space="preserve">class RHTTPTransaction |
|
18 { |
|
19 public: |
|
20 …… |
|
21 |
|
22 RHTTPTransaction::SetupHTTPDataOptimiser (MHTTPDataOptimiser& aHTTPOptimiser); |
|
23 |
|
24 MHTTPDataOptimiser* RHTTPTransaction::HTTPDataOptimiser (); |
|
25 |
|
26 };</codeblock> |
|
27 <p> <b>Note:</b> For more information about how to enable the <codeph>MHTTPDataOptimiser</codeph> implementation |
|
28 for a transaction, see the <xref href="GUID-F0ABCDE5-F818-526A-81EB-E2D4D87E3231.dita#GUID-F0ABCDE5-F818-526A-81EB-E2D4D87E3231/GUID-F8AA1DE9-791E-5954-84E8-ACCBDFB8D3E3">HTTP |
|
29 Whole Message Filter example</xref> section. </p> |
|
30 </conbody></concept> |