Symbian3/PDK/Source/GUID-4FE5CA06-8C3A-4AC1-80CE-4418AC55937A.dita
changeset 5 f345bda72bc4
parent 1 25a17d01db0c
child 9 59758314f811
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
     8 Contributors: 
     8 Contributors: 
     9 -->
     9 -->
    10 <!DOCTYPE task
    10 <!DOCTYPE task
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
    12 <task id="GUID-4FE5CA06-8C3A-4AC1-80CE-4418AC55937A" xml:lang="en"><title>Reading
    12 <task id="GUID-4FE5CA06-8C3A-4AC1-80CE-4418AC55937A" xml:lang="en"><title>Reading
    13 headers in a WSP buffer</title><shortdesc><apiname>TWspField</apiname> object holds the name and value pair
    13 headers in a WSP buffer</title><shortdesc><codeph>TWspField</codeph> object holds the name and value pair
    14 of the WSP header field. <apiname>TWspHeaderSegmenter</apiname> pulls the
    14 of the WSP header field. <codeph>TWspHeaderSegmenter</codeph> pulls the header
    15 header / value pair out of the WSP buffer (into <apiname>TWspField</apiname>).
    15 / value pair out of the WSP buffer (into <codeph>TWspField</codeph>). Call <codeph>TWspHeaderSegmenter::NextL()</codeph> to
    16 Call <apiname>TWspHeaderSegmenter::NextL()</apiname> to iterate through the
    16 iterate through the WSP buffer. It calls <codeph>TWspPrimitiveDecoder</codeph>.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
    17 WSP buffer. It calls <apiname>TWspPrimitiveDecoder</apiname>.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
    17 <prereq id="GUID-333175CE-6D40-4F5C-9AD8-122A383CA3EF">       <p><xref href="GUID-8E0D4BBE-BD06-396F-9517-45F9BFCDEF37.dita"><apiname>CWspHeaderEncoder</apiname></xref> allows you to encode
    18 <prereq>       <p><xref href="GUID-8E0D4BBE-BD06-396F-9517-45F9BFCDEF37.dita"><apiname>CWspHeaderEncoder</apiname></xref> allows you to encode
       
    19 the values and parameters of the header field. It creates one header at a
    18 the values and parameters of the header field. It creates one header at a
    20 time from the name / value pairs.</p>     </prereq>
    19 time from the name / value pairs.</p>     </prereq>
    21 <context>       <p>The following are the steps to encode the WSP header:</p> 
    20 <context id="GUID-CAFFF446-43D5-440C-9B32-C3B9A518D2D3">       <p>The following are the steps to encode the WSP header:</p> 
    22    </context>
    21    </context>
    23 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-7-1-11-1-1-6-1-5-1-5-1-9-1-3-1-3-3">
    22 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-12-1-1-6-1-5-1-5-1-9-1-3-1-3-3">
    24 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-7-1-11-1-1-6-1-5-1-5-1-9-1-3-1-3-3-1"><cmd/>
    23 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-12-1-1-6-1-5-1-5-1-9-1-3-1-3-3-1"><cmd/>
    25 <info>Create a header encoder object.</info>
    24 <info>Create a header encoder object.</info>
    26 <stepxmp><codeblock xml:space="preserve">//creates a pointer to CWspHeaderEncoder object
    25 <stepxmp><codeblock xml:space="preserve">//creates a pointer to CWspHeaderEncoder object
    27 CWspHeaderEncoder* primEncoder = CWspHeaderEncoder::NewLC();</codeblock></stepxmp>
    26 CWspHeaderEncoder* primEncoder = CWspHeaderEncoder::NewLC();</codeblock></stepxmp>
    28 </step>
    27 </step>
    29 <step id="GUID-C40D9259-C67F-4DA8-B524-A29E3BE2D0E0"><cmd/>
    28 <step id="GUID-C40D9259-C67F-4DA8-B524-A29E3BE2D0E0"><cmd/>