You must use the RHTTPTransaction::SetupHTTPDataOptimiser() function
of the RHTTPTransaction class to enable the MHTTPDataOptimiser implementation
for a particular transaction. The following code illustrates the RHTTPTransaction class:
class RHTTPTransaction
{
public:
……
RHTTPTransaction::SetupHTTPDataOptimiser (MHTTPDataOptimiser& aHTTPOptimiser);
MHTTPDataOptimiser* RHTTPTransaction::HTTPDataOptimiser ();
};
Note: For more information about how to enable the MHTTPDataOptimiser implementation
for a transaction, see the HTTP
Whole Message Filter example section.