7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
8 Contributors: |
9 --> |
9 --> |
10 <!DOCTYPE reference |
10 <!DOCTYPE reference |
11 PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> |
12 <reference id="GUID-6B8BA8A8-AD56-55BA-9659-15091E988FB7" xml:lang="en"><title>HTTP |
12 <reference id="GUID-6B8BA8A8-AD56-55BA-9659-15091E988FB7" xml:lang="en"><title>HTTP Client Example</title><shortdesc>This example shows how to use HTTP APIs. </shortdesc><prolog><metadata><keywords/></metadata></prolog><refbody> |
13 Client Example</title><shortdesc>This example shows how to use HTTP APIs. </shortdesc><prolog><metadata><keywords/></metadata></prolog><refbody> |
13 <section id="GUID-42E724C9-4C84-5AFF-B9F7-23BAE90CE48F"><title>Description</title> <p>This updated C++ application demonstrates simple HTTP GET and |
14 <section id="GUID-42E724C9-4C84-5AFF-B9F7-23BAE90CE48F"><title>Description</title> <p>This |
14 POST transactions using the HTTP Client API. Basic HTTP authentication |
15 updated C++ application demonstrates simple HTTP GET and POST transactions |
15 is also supported. </p> </section> |
16 using the HTTP Client API. Basic HTTP authentication is also supported. </p> </section> |
16 <section id="GUID-4D40BEB0-1C5B-538F-91A7-29A3D7D6D16B"><title>Download</title> <p>Click on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-f8185804-e4a0-47b3-9f66-e531d88ee9ce.zip" scope="external">Httpclientexample.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-f8185804-e4a0-47b3-9f66-e531d88ee9ce.html" scope="peer">browse</xref> to view the example code. </p> </section> |
17 <section id="GUID-4D40BEB0-1C5B-538F-91A7-29A3D7D6D16B"><title>Download</title> <p>Click |
17 <section id="GUID-F03E3A90-59C0-50F6-B1CA-27E86A8B1934"><title>Building |
18 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-f8185804-e4a0-47b3-9f66-e531d88ee9ce.zip" scope="external">Httpclientexample.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-f8185804-e4a0-47b3-9f66-e531d88ee9ce.html" scope="peer">browse</xref> to view the example code. </p> </section> |
18 and configuring</title> <p>To build the example: </p> <ul> |
19 <section id="GUID-F03E3A90-59C0-50F6-B1CA-27E86A8B1934"><title>Building and |
19 <li id="GUID-50180DE5-DAE7-5C1A-A59C-01A9CC76DADE"><p>You can build |
20 configuring</title> <p>To build the example: </p> <ul> |
20 the example from your IDE or the command line. </p> <p>If you use |
21 <li id="GUID-50180DE5-DAE7-5C1A-A59C-01A9CC76DADE"><p>You can build the example |
21 an IDE, import the <filepath>bld.inf</filepath> file of the example |
22 from your IDE or the command line. </p> <p>If you use an IDE, import the <filepath>bld.inf</filepath> file |
22 into your IDE, and use the build command of the IDE. </p> <p>If you |
23 of the example into your IDE, and use the build command of the IDE. </p> <p>If |
23 use the command line, open a command prompt, and set the current directory |
24 you use the command line, open a command prompt, and set the current directory |
24 to the source code directory of the example. You can then build the |
25 to the source code directory of the example. You can then build the example |
25 example with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake bldfiles</userinput> </p> <p><userinput>abld |
26 with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake |
26 build</userinput> </p> </li> |
27 bldfiles</userinput> </p> <p><userinput>abld build</userinput> </p> <p><xref href="GUID-793A5EF9-CC16-5EEB-9011-6431EA76EB15.dita">How to use bldmake</xref> and <xref href="GUID-B6B54E07-3B34-5D5C-8815-93383FA8FB4B.dita">How to use abld</xref> describe |
27 <li id="GUID-7F23E0FC-6A18-58BF-B066-D50333284761"><p>For the emulator, |
28 how to use the SBSv1 build tools. </p> </li> |
28 the example builds an executable called <filepath>httpexampleclient.exe</filepath> in the <filepath>epoc32\release\winscw\<udeb or urel>\</filepath> folder. </p> </li> |
29 <li id="GUID-7F23E0FC-6A18-58BF-B066-D50333284761"><p>For the emulator, the |
|
30 example builds an executable called <filepath>httpexampleclient.exe</filepath> in |
|
31 the <filepath>epoc32\release\winscw\<udeb or urel>\</filepath> folder. </p> </li> |
|
32 </ul> </section> |
29 </ul> </section> |
33 </refbody><related-links> |
30 </refbody><related-links> |
34 <link href="GUID-1D32D093-1B7B-5CE8-B57D-5469C1E8E4B9.dita"><linktext>Simple Client |
31 <link href="GUID-1D32D093-1B7B-5CE8-B57D-5469C1E8E4B9.dita"><linktext>Simple |
35 Session guide</linktext></link> |
32 Client Session guide</linktext></link> |
36 <link href="GUID-50BBCB9C-F234-5813-A42E-3FCFB0F14B66.dita"><linktext>HTTP Overview</linktext> |
33 <link href="GUID-50BBCB9C-F234-5813-A42E-3FCFB0F14B66.dita"><linktext>HTTP |
37 </link> |
34 Overview</linktext></link> |
38 </related-links></reference> |
35 </related-links></reference> |