Symbian3/SDK/Source/GUID-20B2C96A-9742-4CB0-A37F-19B65765E826.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    23 virtual void EncodeL(const TDesC8& aHTTPData, HBufC8*& aEncodedData) = 0;
    23 virtual void EncodeL(const TDesC8& aHTTPData, HBufC8*& aEncodedData) = 0;
    24     
    24     
    25 virtual void DecodeL(const TDesC8& aData, HBufC8*& aHTTPData, TBool&     aTransFail) = 0;
    25 virtual void DecodeL(const TDesC8& aData, HBufC8*& aHTTPData, TBool&     aTransFail) = 0;
    26 
    26 
    27 };</codeblock>
    27 };</codeblock>
    28 <section id="GUID-6E64E5BA-0FA7-5B9D-987E-09F2D5F53AE8-GENID-1-8-1-13-1-1-3-1-3-1-13-1-4-1-4-1-2-3"> <title>The EncodeL()
    28 <section id="GUID-6E64E5BA-0FA7-5B9D-987E-09F2D5F53AE8-GENID-1-10-1-13-1-1-3-1-3-1-13-1-4-1-4-1-2-3"> <title>The EncodeL()
    29 method</title><p>This method converts HTTP request data (to your selected
    29 method</title><p>This method converts HTTP request data (to your selected
    30 network optimisation protocol format) before it is sent across the TCP connection.
    30 network optimisation protocol format) before it is sent across the TCP connection.
    31 This method has the following parameters: </p><ul>
    31 This method has the following parameters: </p><ul>
    32 <li id="GUID-5B67C5B3-3112-5E1E-9BCD-4665BAE0F013"><p> <b>aHTTPData: </b> Contains
    32 <li id="GUID-5B67C5B3-3112-5E1E-9BCD-4665BAE0F013"><p> <b>aHTTPData: </b> Contains
    33 HTTP request data in standard HTTP format. </p> </li>
    33 HTTP request data in standard HTTP format. </p> </li>
    34 <li id="GUID-2C903A38-1C76-54E0-84A1-01F35C1C9C09"><p> <b>aEncodedData:</b> On
    34 <li id="GUID-2C903A38-1C76-54E0-84A1-01F35C1C9C09"><p> <b>aEncodedData:</b> On
    35 return contains encoded HTTP request data in a network optimisation protocol
    35 return contains encoded HTTP request data in a network optimisation protocol
    36 format. </p> </li>
    36 format. </p> </li>
    37 </ul><p> <b> Note:</b> It is assumed that you define a custom optimisation
    37 </ul><p> <b> Note:</b> It is assumed that you define a custom optimisation
    38 mechanism to encode the HTTP request data by implementing the <codeph>EncodeL()</codeph> method. </p> </section>
    38 mechanism to encode the HTTP request data by implementing the <codeph>EncodeL()</codeph> method. </p> </section>
    39 <section id="GUID-6E64E5BA-0FA7-5B9D-987E-09F2D5F53AE8-GENID-1-8-1-13-1-1-3-1-3-1-13-1-4-1-4-1-2-4"> <title>The DecodeL()
    39 <section id="GUID-6E64E5BA-0FA7-5B9D-987E-09F2D5F53AE8-GENID-1-10-1-13-1-1-3-1-3-1-13-1-4-1-4-1-2-4"> <title>The DecodeL()
    40 method</title><p>This method converts the HTTP response data in your selected
    40 method</title><p>This method converts the HTTP response data in your selected
    41 network optimisation protocol format back to the standard HTTP response data
    41 network optimisation protocol format back to the standard HTTP response data
    42 format. This method has the following parameters: </p><ul>
    42 format. This method has the following parameters: </p><ul>
    43 <li id="GUID-D07BB5C7-1E33-5DD3-94D3-1FC8C72053DA"><p> <b>aData:</b> Contains
    43 <li id="GUID-D07BB5C7-1E33-5DD3-94D3-1FC8C72053DA"><p> <b>aData:</b> Contains
    44 the raw data in a network optimisation protocol format received over the TCP
    44 the raw data in a network optimisation protocol format received over the TCP