Initial contribution of the Adaptation Documentation.
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE concept
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-1D9EA46B-CF0B-4779-97F9-5BECA3622777" xml:lang="en"><title>Enabling
MHTTPDataOptimiser for a transaction </title><prolog><metadata><keywords/></metadata></prolog><conbody>
<p>You must use the <codeph>RHTTPTransaction::SetupHTTPDataOptimiser()</codeph> function
of the <codeph>RHTTPTransaction</codeph> class to enable the <codeph>MHTTPDataOptimiser</codeph> implementation
for a particular transaction. The following code illustrates the <codeph>RHTTPTransaction</codeph> class: </p>
<codeblock id="GUID-81EA4D70-7157-5C17-9B3F-B6B197434642" xml:space="preserve">class RHTTPTransaction
{
public:
……
RHTTPTransaction::SetupHTTPDataOptimiser (MHTTPDataOptimiser& aHTTPOptimiser);
MHTTPDataOptimiser* RHTTPTransaction::HTTPDataOptimiser ();
};</codeblock>
<p> <b>Note:</b> For more information about how to enable the <codeph>MHTTPDataOptimiser</codeph> implementation
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
Whole Message Filter example</xref> section. </p>
</conbody></concept>