1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50<title>nn::http</title>
51  </head>
52  <body>
53<h1><CODE>nn::http</CODE> Namespace</h1>
54<h2>Description</h2>
55    <div class="section">
56<p>Namespace for the HTTP communication API.</p><p>Note: This library has been prepared for debugging purposes. If you intend to include it in your retail product, contact Nintendo at support@noa.com.<br /></p><!-- write here --></div>
57    <a name="class" id="class">
58<h2>Classes</h2>
59      <div class="section">
60        <table class="members">
61          <tr>
62            <th>
63<a href="../../nn/http/CertStore/Overview.html"><CODE>nn::http::CertStore</CODE></a>
64            </th>
65<td>Class representing an HTTPS certificate store. Use this to reuse the same CA certificate store with multiple HTTPS communication sessions.</td>
66          </tr>
67          <tr>
68            <th>
69<a href="../../nn/http/ClientCert/Overview.html"><CODE>nn::http::ClientCert</CODE></a>
70            </th>
71<td>Class representing an HTTPS client certificate. Use this to reuse the same client certificate with multiple HTTPS communication sessions.</td>
72          </tr>
73          <tr>
74            <th>
75<a href="../../nn/http/Connection/Overview.html"><CODE>nn::http::Connection</CODE></a>
76            </th>
77<td>Class that represents HTTP communication. A single instance of this class is used for a <I>single HTTP communication session with a single URL</I>.</td>
78          </tr>
79        </table>
80      </div>
81    </a> <a name="enum" id="enum">
82<h2>Enumerated Types</h2>
83      <div class="section">
84        <table class="members">
85          <tr>
86            <td width="100"> </td>
87            <th>
88<a href="../../nn/http/RequestMethod.html"><CODE>RequestMethod</CODE></a>
89            </th>
90<td>HTTP request methods.</td>
91          </tr>
92          <tr>
93            <td width="100"> </td>
94            <th>
95<a href="../../nn/http/EncodingType.html"><CODE>EncodingType</CODE></a>
96            </th>
97<td>Encoding types for POST data.</td>
98          </tr>
99          <tr>
100            <td width="100"> </td>
101            <th>
102<a href="../../nn/http/PostDataType.html"><CODE>PostDataType</CODE></a>
103            </th>
104<td>Types of POST data.</td>
105          </tr>
106          <tr>
107            <td width="100"> </td>
108            <th>
109<a href="../../nn/http/Status.html"><CODE>Status</CODE></a>
110            </th>
111<td>Connection statuses.</td>
112          </tr>
113          <tr>
114            <td width="100"> </td>
115            <th>
116<a href="../../nn/http/ProxyAuthType.html"><CODE>ProxyAuthType</CODE></a>
117            </th>
118<td>Proxy authentication type.</td>
119          </tr>
120          <tr>
121            <td width="100"> </td>
122            <th>
123<a href="../../nn/http/ResultCode.html"><CODE>ResultCode</CODE></a>
124            </th>
125<td>Function result codes. Stored as <CODE>description</CODE> elements in the <CODE>Result</CODE> returned from API functions.</td>
126          </tr> </table>
127      </div>
128    </a> <a name="typedef" id="typedef">
129<h2><CODE>typedef</CODE> Definitions</h2>
130      <div class="section">
131        <table class="members">
132          <tr>
133            <td width="100" />
134            <th>
135<a href="../../nn/http/CertId.html"><CODE>CertId</CODE></a>
136            </th>
137<td>Certificate ID.</td>
138          </tr>
139          <tr>
140            <td width="100" />
141            <th>
142<a href="../../nn/http/InternalCaCertId.html"><CODE>InternalCaCertId</CODE></a>
143            </th>
144<td>Internal CA certificate ID. (Same meaning as SSL's <a href="../../nn/ssl/InternalCaCert.html">nn::ssl::InternalCaCert</a> value.)</td>
145          </tr>
146          <tr>
147            <td width="100" />
148            <th>
149<a href="../../nn/http/InternalClientCertId.html"><CODE>InternalClientCertId</CODE></a>
150            </th>
151<td>Internal client certificate ID. (Same meaning as <a href="../../nn/ssl/Overview.html">SSL's</a> <a href="../../nn/ssl/InternalClientCert.html">nn::ssl::InternalCaCert</a> value.)</td>
152          </tr>
153          <tr>
154            <td width="100" />
155            <th>
156<a href="../../nn/http/CertStoreId.html"><CODE>CertStoreId</CODE></a>
157            </th>
158<td>Certificate store ID.</td>
159          </tr>
160          <tr>
161            <td width="100" />
162            <th>
163<a href="../../nn/http/ConnectionHandle.html"><CODE>ConnectionHandle</CODE></a>
164            </th>
165<td>Connection handle ID. This corresponds to the handle ID that the <CODE>nhttp</CODE> library assigns to each connection.</td>
166          </tr> </table>
167      </div>
168    </a> <a name="function" id="function">
169<h2>Functions</h2>
170      <div class="section">
171        <table class="members">
172          <tr>
173<th class="category" colspan="3">Initialize/Finalize Entire Library</th>
174          </tr>
175          <tr>
176            <td width="100">  </td>
177            <th>
178<a href="../../nn/http/Initialize.html"><CODE>Initialize</CODE></a>
179            </th>
180<td>Initializes the HTTP library. Processes that link against the HTTP library must call this before using the library.</td>
181          </tr>
182          <tr>
183            <td width="100">  </td>
184            <th>
185<a href="../../nn/http/Finalize.html"><CODE>Finalize</CODE></a>
186            </th>
187<td>Finalizes the HTTP library. Processes that link against the HTTP library must call this after they are done using the library.</td>
188          </tr>
189          <tr>
190<th class="category" colspan="3">Other</th>
191          </tr>
192          <tr>
193            <td width="100">  </td>
194            <th>
195<a href="../../nn/http/NN_DEFINE_RESULT_CONST_LM.html"><CODE>NN_DEFINE_RESULT_CONST_LM</CODE></a>
196            </th>
197<td>Returns a <CODE>Result</CODE> indicating the following error: &quot;Invalid status.&quot;</td>
198          </tr> </table>
199      </div>
200    </a>
201<h2>Revision History</h2>
202    <div class="section">
203      <dl class="history">
204        <dt>2010/06/14</dt>
205<dd>Initial version.<br />
206        </dd>
207      </dl>
208    </div>
209  <hr><p>CONFIDENTIAL</p></body>
210</html>